Skip to main content

All Questions

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 ...
M P's user avatar
  • 43