Weakness (CWE)
CWE-588: Attempt to Access Child of a Non-structure Pointer
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
1 result · Clear filters · Feed
-
Medium 6.5
DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses
DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses. Zephyr versions >= > v2.4.0 contain NULL Pointer Dereference (CWE-476), Attempt to Access Child of a Non-structure Pointer (CWE-588). For more information, see https://github.com/zeph…