My code works - all 16 images are recovered without a problem. However, it doesn't pass , which gives me smileys for recover.c existing and compiling, but says "killed by server" for recovering the images. I have no idea what this means.

// code
    // code       
while (!(buffer2[0] == 0xff && buffer2[1] == 0xd8 &&
         buffer2[2] == 0xff && (buffer2[3] == 0xe0 || buffer2[3] == 0xe1)));

// code

Attached is my code, please help! Thanks!

  • I also received this. I closed gedit and opened it back up reran check50 and the "killed by server" was gone.. My best guess is connection issue????
    – user7317
    Jun 8, 2015 at 15:24

1 Answer 1


the problem is that this do..while is gonna be an infinite loop as it recovers the last JPEG because it's never gonna hit another JPEG signature because there will be no more JPEGs.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .