PREfast Warning 11 (Windows CE 5.0)
11 - Dereferencing NULL pointer <pointer>.
This warning indicates that the specified pointer is being dereferenced but might be a NULL pointer.
Example
Defective Source
char *p = (char *)malloc(10);
*p = '\0';
Corrected Source
char *p = (char *)malloc(10);
if (p) {
*p = '\0';
}
Send Feedback on this topic to the authors