Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Attempting to dereference a null pointer results in undefined behavior.

On many platforms dereferencing a null pointer results in abnormal program termination, but this is not required by the standard. See [Goodin 2009] for an example of a code execution exploit that resulted from a null pointer dereference.

Noncompliant Code Example

...