CERT C Secure Coding Standard (2008) Chapter 14 - Miscellaneous (MSC)
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 the rules and recommendations in the Miscellaneous (MSC) chapter of the CERT C Secure Coding Standard (2008).
The variable's value is assigned but never used, making it a dead store.
The code uses an operator for comparison when the intention was to perform an assignment.
Sensitive memory is cleared according to the source code, but compiler optimizations leave the memory untouched when it is not read from again, aka "dead store removal."
The software contains dead code, which can never be executed.
The software contains an expression that will always evaluate to false.
The software contains an expression that will always evaluate to true.
The software does not properly handle when an input contains Unicode encoding.
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process th...
The software compares two entities in a security-relevant context, but the comparison is incorrect, which may lead to resultant weaknesses.
The software does not correctly convert an object, resource, or structure from one type to a different type.
The programmer accidentally uses the wrong operator, which changes the application logic in security-relevant ways.
The software uses insufficiently random numbers or values in a security context that depends on unpredictable numbers.
Deprecated or Obsolete
CWE entries in this view (graph) are fully or partially eliminated by following the guidance presented in the book "The CERT C Secure Coding Standard" published in 200...