Stale Pointer Bug
Definition - What does Stale Pointer Bug mean?
A stale pointer bug refers to a category of delicate programming errors that could arise in codes that conduct dynamic allocation, specifically by means of the C language function "malloc" or its equivalent.
A stale pointer bug is also known as an aliasing bug.
Techopedia explains Stale Pointer Bug
If no aliases are created for the allocated memory, this kind of bug can be easily avoided. Another option to avoid stale pointer bugs is the use of a higher-level language such as Lisp that incorporates a garbage collector.
The term stale pointer bug is currently linked to C programming; however, this bug was already present in a very similar manner in Fortran and ALGOL 60 during the 1960s.
Join thousands of others with our weekly newsletter
Free Whitepaper: The Path to Hybrid Cloud:
Free E-Book: Public Cloud Guide:
Free Tool: Virtual Health Monitor:
Free 30 Day Trial – Turbonomic: