All Questions
1 question
1
vote
1
answer
846
views
How to avoid buffer overflow with C struct array of strings
I'm running into buffer overflows when reading a file in C and copying character arrays. There are three potentially offending pieces of code and I can't figure out where I'm going wrong.
The first ...