I think I discovered a bug but I'm not sure.
fread() failed when I use fseek() to set the file pointer to some offset
at the offset I set it to, the byte "0x1A" (in hexadecimal) could be found
Funny thing is, when I use a hex editor and set the byte at that offset to 0x00 or something else than 0x1A, fread() succeeds
If anyone does not completely understand me, feel free to ask.