Admin Production ni-theme
Current Publication

Pointer Dereferencing (Fatal)

LabWindows/CVI

Pointer Dereferencing (Fatal)

Dereferencing of invalid pointer values is a fatal error because it can cause a memory fault or other serious problems. The following user protection errors involve pointer dereferencing.

  • Dereferencing of an uninitialized pointer
  • Dereferencing of a null pointer
  • Dereferencing of an out-of-bounds pointer (dereferencing using a pointer value before the start or past the end of an array)
  • Dereferencing of a pointer to freed memory
  • Dereferencing of an invalid pointer expression
  • Dereferencing of a data pointer for use as a function
  • Dereferencing of a function pointer for use as data
  • Dereferencing of a pointer to an n-byte type where less than n bytes exist in the object