Stale Pointer Bug

A stale pointer bug, otherwise known as an aliasing bug, is a class of subtle programming errors that can arise in code that does dynamic memory allocation, especially via the malloc() function or equivalent. If several pointers address (are "aliases for") a given hunk of storage, it may happen that the storage is freed or reallocated (and thus moved) through one alias and then referenced through another, which may lead to subtle (and possibly intermittent) lossage depending on the state and the allocation history of the malloc arena. This bug can be avoided by never creating aliases for allocated memory, or by use of a higher-level language, such as Lisp, which employs a garbage collector. The term "aliasing bug" is nowadays associated with C programming, but it was already in use in a very similar sense in the ALGOL 60 and Fortran communities in the 1960s.

 

<< PreviousWord BrowserNext >>
x corps
convergent technologies
atlantic college
cumorah
conflict of the orders
nine planets
statute in restraint of appeals
sustainable
sri international
raul khadjimba
piers north, 10th earl of guilford
top secret
sail programming language
dan barrett
bill cobey
clara rockmore
beauty and the beast: the enchanted christmas
cape york peninsula
baron rossmore
arsdigita university
baron rendlesham
louis auchincloss
isosbestic plot
baron rathdonnell
arsdigita corporation
byron long
lists of u.s. cities with non white majority populations
baron graves
predominance diagram
philander claxton
x
ircnet
x win32
puppy love
income velocity of money
list of canadian divisions in world war ii
list of australian divisions in world war ii
coat of arms of comoros
greenlaw
list of polish divisions in wwii
5 5 5
baron crofton
baron clanmorris
leonor of viseu