Hey, someone just introduced me to buffer overflows and how they can be doorways to malicious attack. Does anyone know anything good to read on how to prevent these?
You could use STL types if you can instead of C types (string instead of char*, vector instead of array etc) because it's safer and prevents a lot of problems. Simply C does not check for boundary limits.