Conceptual
Login

Dangling Pointer

A pointer or reference to memory that has already been freed or whose stack frame has returned. Dereferencing one is undefined behavior and the root of use-after-free exploits.

Questions this Concept answers

  • Why is following a dangling pointer often worse than crashing on the spot?