CERT C++ Secure Coding Section 07 - Characters and Strings (STR)
A category in the Common Weakness Enumeration published by The MITRE Corporation.
Categories in the Common Weakness Enumeration (CWE) group entries based on some common characteristic or attribute.
Weaknesses in this category are related to rules in the Characters and Strings (STR) section of the CERT C++ Secure Coding Standard. Since not all rules map to specific weaknesses, this category may be incomplete.
The accidental addition of a data-structure sentinel can cause serious programming logic problems.
The program copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buf...
The software calls a function, procedure, or routine, but the caller specifies an argument that is the wrong data type, which may lead to resultant weaknesses.
The software constructs a string for a command to executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, ...
The software constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralize...
The software does not terminate or incorrectly terminates a string or array with a null character or equivalent terminator.
The software performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer.
The software does not correctly convert an object, resource, or structure from one type to a different type.
A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.
Deprecated or Obsolete
CWE entries in this view (graph) are fully or partially eliminated by following the SEI CERT C++ Coding Standard, as published in 2016. This view is no longer being ac...