Software Engineering Institute Makes CERT C++ Coding Standard Freely Available
1–10 of 27 posts
Re: Software Engineering Institute Makes CERT C++ Coding Standard Freely Available
#2Re: Software Engineering Institute Makes CERT C++ Coding Standard Freely Available
#3For instance, I went through the I/O section, and most of the rules seem quite intuitive even to a novice C++ programmer like myself.
Re: Software Engineering Institute Makes CERT C++ Coding Standard Freely Available
#4Re: Software Engineering Institute Makes CERT C++ Coding Standard Freely Available
#5To anyone experienced with CERT C++: are there rules in the standard that are critical for secure code, but not easy to discover without extensive experience? For instance, I went through the I/O section, and most of the rules seem quite intuitive even to a novice C++ programmer like myself.
Kudos to the SEI.
Re: Software Engineering Institute Makes CERT C++ Coding Standard Freely Available
#6To anyone experienced with CERT C++: are there rules in the standard that are critical for secure code, but not easy to discover without extensive experience? For instance, I went through the I/O section, and most of the rules seem quite intuitive even to a novice C++ programmer like myself.
It's easy to forget that alignment is important on some architectures (other than for performance reasons), so be careful when using placement new: https://www.securecoding.cert.org/confluence/display/cpluspl...
This may seem obvious, but even the C++ committee got this one wrong when they created auto_ptr (which has since been removed from the standard): https://www.securecoding.cert.org/confluence/display/cpluspl...
This one is totally obvious but has a stunning number of ways you can fail to adhere to it, some of which look reasonable at first blush: https://www.securecoding.cert.org/confluence/display/cpluspl...
Re: Software Engineering Institute Makes CERT C++ Coding Standard Freely Available
#7http://www.cert.org/downloads/secure-coding/assets/sei-cert-...
Re: Software Engineering Institute Makes CERT C++ Coding Standard Freely Available
#8Re: Software Engineering Institute Makes CERT C++ Coding Standard Freely Available
#9http://www.cert.org/downloads/secure-coding/assets/sei-cert-...
http://www.sei.cmu.edu/downloads/sei-cert-c-coding-standard-...