Open walac opened 9 years ago
fread reads data as binary data, and does not append a null char at the end of the buffer.
Good catch, thanks. I tend to memset buffers to null and missed it there.
fread reads data as binary data, and does not append a null char at the end of the buffer.