CWE Rule 588
Description
Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption
Polyspace Implementation
Polyspace® checks for the issue Accessing child of nonstructure pointer
Examples
Check Information
| Category: Others |
PQL Name:
std.cwe_native.R588
|
Version History
Introduced in R2026a