for my recover.c i have trouble changing the filenames. I get a segmentation fault probably because of incorrect usage of sprintf.
Code looks sort of like this:
{
// pseudocode for testing sprintf change filename
char* outfile = "000.jpg";
printf ("%s", outfile);
int start = 3;
sprintf (outfile, "O%d.JPG", start);
printf ("%s", outfile);
}
https://gist.github.com/anonymous/9993ff3b6121fdb04ede
Can anybody help?