...
Wiki Markup |
---|
To correct this error, ensure the pointer returned by {{malloc()}} is not invalid (null)NULL. In addition to this rule, this should be done in accordance with rule \[[MEM32-C|MEM32-C. Detect and handle critical memory allocation errors]\]. |
...
Risk Assessment
Dereferencing an invalid a NULL pointer results in undefined behavior, which could result in an attacker being able to run arbitrary codetypically abnormal program termination.
Rule | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
EXP34-C | 3 (high) | 3 (likely) | 1 (high) | P9 | L2 |
...