Weakness (CWE)
CWE-588: Attempt to Access Child of a Non-structure Pointer
Variant Incomplete
The product casts a non-structure type to a structure type, then accesses a field within the structure.
How to prevent it (2 mitigations)
-
Requirements
The choice could be made to use a language that is not susceptible to these issues.
-
Implementation
Review of type casting operations can identify locations where incompatible types are cast.
Source: MITRE CWE-588
0 results · Clear filters · Feed
Nothing found.