images\error_sml.gifNPW: Null Pointer Write (Error Detection)

Example       Related Topics

An NPW message indicates that the program is trying to write to address zero (a NULL pointer) or is indexing off a NULL pointer (Purify labels all writes between location 0 and 0x1000 as NPWs). An access violation subsequently results.

This message can occur when you fail to check a return status for a function expected to return a pointer to a string or an object. If the function returns NULL on failure, subsequent use of the NULL pointer causes a NPW error.

(C) Copyright IBM Corporation 1992, 2010.