Dangling pointer

/ˈdæŋɡlɪŋ ˈpɔɪntər/ noun

Definition

A pointer that references memory that has been freed or is no longer valid, potentially causing crashes or security vulnerabilities when accessed.

Etymology

Pointer comes from the physical metaphor of pointing (1940s computing), while 'dangling' evokes something hanging loose without proper support. The term emerged in the 1960s with manual memory management languages like C.

Kelly Says

It's like having a house address written down, but the house was demolished - you still have the address, but there's nothing safe at that location anymore. This is why modern languages try to prevent you from keeping 'addresses' to destroyed objects!

Related Words

Explore More Words

Get the Word Orb API

Complete word intelligence in one call. Free tier — 50 lookups/day.