ConceptDangling Pointer
Dangling Pointer
A pointer that refers to memory that has been freed or is no longer valid. Dereferencing it causes undefined behavior and is a source of numerous security vulnerabilities in C and C++. Rust rejects such code at compile time through lifetime annotations.