Buffer overflows

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?

Just curious to learn more for security.
Write normal code. Use libraries functionality. (I am now about string, as an example)
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.
Topic archived. No new replies allowed.