There are two versions of the book Secure Coding in C and C++.
Secure Coding in C and C++, Second EditionApril 2013
In this book, Robert Seacord describes how to write secure C and C++ code and avoid the software defects most likely to cause exploitable vulnerabilities.
Secure Coding in C and C++September 2005
In this book, Robert Seacord identifies root causes for exploited software vulnerabilities and encourages programmers to adopt security best practices.