Introduction to Secure Coding in C and C++
Published in
15 min readJun 9, 2020
Both languages (C and C++) were designed to be general purpose, structured programming languages that suited systems and embedded programming.
C++ was designed from the start to be an object oriented language with support for encapsulation, data hiding, inheritance, and polymorphism.
Traditional attack vectors
- Insecure memory handling
- Race conditions
- Insecure I/O handling
- Information disclosure via exception…