SFP Secondary Cluster: Faulty Pointer Use
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.
This category identifies Software Fault Patterns (SFPs) within the Faulty Pointer Use cluster (SFP7).
Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption.
A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit.
Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.
CWE identifiers in this view are associated with clusters of Software Fault Patterns (SFPs).