DeepRead
Cover of Secure coding in C and C++

Secure coding in C and C++

Robert C. Seacord · 2005

Programming and computer science › C and C++

#4,354 most recommended

About the book

This book is a practical guide to writing secure C and C++ code. It covers the language-level and library-level coding errors that lead to exploitable software, including string and buffer handling, dynamic memory, integer behavior, formatted output, and file input and output. It is aimed at working programmers and draws on the CERT Coordination Center's analysis of vulnerability reports. The author's central claim is that most commonly exploited vulnerabilities trace back to a small set of root causes that are avoidable through disciplined coding. The book explains how each cause arises in C and C++ and shows concrete coding practices that prevent it. It also argues that programmers should adopt a security mindset, so that they anticipate attacks rather than only patching the flaws that have already been exploited.

Written by Claude from what it knows of this book.

What Hacker News says 78% recommend · 0% critical

0122015201620182020202220232020 peak · 2
This bookAverage book in C and C++

In the commenters’ own words

What Open Library readers say

No Open Library reader has rated it yet.

  • 1 want to read
  • 0 reading
  • 0 have read

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2005
ISBN
9780321335722
Editions known
4 at Open Library
Open Library
OL5824223W

005.8C (Computer program language)C plus plus (computer program language)C++ (Computer program language)Computer securityQa76.9.a25 s368 2006

Explore in the mosaic

Read next: its neighbours on the mosaic

  • The CERT C secure coding standard
    Robert C. Seacord · 2008 · recommended by 3 people · similar by subject and what people say about it
  • Writing secure code
    Michael Howard · 2003 · recommended by 2 people · similar by subject and what people say about it
  • Beautiful C++
    John Davidson · 2021 · recommended by 1 person · similar by subject and what people say about it
  • Embracing Modern C++ Safely
    John Lakos · 2021 · recommended by 2 people · similar by subject and what people say about it
  • The Standard C Library
    P. J. Plauger · 1991 · recommended by 17 people · similar by subject and what people say about it
  • The art of software security assessment
    Mark Dowd · 2006 · recommended by 21 people · similar by subject and what people say about it
  • Effective Modern C++
    Scott Meyers · 2014 · recommended by 63 people · 2 people recommended both
  • API design for C++
    Martin Reddy · 2011 · recommended by 6 people · 2 people recommended both
  • The annotated C++ reference manual
    Margaret A. Ellis · 1990 · recommended by 2 people · similar by subject and what people say about it
  • The design and evolution of C[plus plus]
    Bjarne Stroustrup · 1994 · recommended by 38 people · 2 people recommended both
  • The C Programming Language
    Brian W. Kernighan · 1978 · recommended by 246 people · similar by subject and what people say about it
  • Mac OS X and iOS Internals
    Jonathan Levin · 2013 · recommended by 1 person · loosely similar by subject
  • Large-Scale C++ Volume II
    John Lakos · 2019 · recommended by 1 person · loosely similar by subject
  • Effective C++
    Scott Meyers · 1991 · recommended by 112 people · similar by subject and what people say about it
  • C, a reference manual
    Samuel P. Harbison · 1984 · recommended by 30 people · similar by subject and what people say about it
  • Modern C
    Jens Gustedt · 2019 · recommended by 37 people · similar by subject and what people say about it
  • Algorithms in C++
    Robert Sedgewick · 1990 · recommended by 27 people · similar by subject and what people say about it
  • C Traps and Pitfalls
    Andrew Koenig · 1989 · recommended by 19 people · similar by subject and what people say about it
  • C programming
    K. N. King · 1996 · recommended by 31 people · similar by subject and what people say about it
  • C++ primer plus
    Stephen Prata · 1995 · recommended by 12 people · similar by subject and what people say about it
  • Modern C++ Design
    Andrei Alexandrescu · 2001 · recommended by 29 people · similar by subject and what people say about it
  • The C puzzle book
    Alan R. Feuer · 1982 · recommended by 10 people · similar by subject and what people say about it
  • The C++ programming language
    Bjarne Stroustrup · 1985 · recommended by 19 people · similar by subject and what people say about it
  • Effective STL
    Scott Meyers · 2001 · recommended by 13 people · similar by subject and what people say about it