Menu

#3 multiple buffer overflows before fopen()

open
nobody
None
5
2010-12-08
2010-12-08
No

strlen() doesn't include terminating zero, thus all buffers for files were 1 byte less than necessary, and strcat() wrote outside of the buffer. It resulted in sporadic SEGFAULTs under MS Windows when built with gcc from MinGW.

Discussion


Log in to post a comment.