logo

CERT-C


Summary

The SEI CERT C Coding Standard, 2016 Edition provides rules for secure coding in the C programming language. These rules and recommendations are used to develop safe, reliable, and secure systems, for example by eliminating undefined behaviors that can lead to undefined program behaviors and exploitable vulnerabilities.


Definitions

DefinitionRequirements
CERTC-EXP33-C. Do not read uninitialized memory
CERTC-INT32-C. Ensure that operations on signed integers do not result in overflow
CERTC-STR30-C. Do not attempt to modify string literals
CERTC-FIO30-C. Exclude user input from format strings
CERTC-FIO32-C. Do not perform operations on devices that are only appropriate for files
CERTC-CON38-C. Preserve thread safety and liveness when using condition variables
CERTC-MSC32-C. Properly seed pseudorandom number generators

Last updated

2023/09/18