Static Analysis Problem Type Reference
A pointer to allocated memory was not checked for null before dereference.
This occurs when a return value of malloc family allocation function or new (nothrow) operator is not checked for null before dereference. If memory allocation fails the malloc family allocation functions and new (nothrow) operator return null. If the pointer can be null, then all uses should be protected with a check for null.
|
ID |
Code Location |
Description |
|---|---|---|
|
1 |
Definition |
Subroutine definition |