After a very long time, I finally managed to find out why my version of recover.c only managed to recover 1 image (recover.c only recovers 1 image)
Anyway, now I face a new problem. What I've attempted so far for recover.c only recovers 2 complete images (I can see the actual image when I click on it which was pretty cool) and a 3rd image that says "error interpreting JPEG image file: (improper call to JPEG library in state 201)". That's it. Only 3 images. On top of that, when I run ./recover I get this message in the terminal window:
Here's what I've come up with so far: https://gist.github.com/ehahehah/e6d579dcb08649a4d65b
Anybody knows what double free or corruption means?
P.S. I don't know if I should combine this question with my original question