:smash the stack: [C programming] n. To corrupt the execution stack
by writing past the end of a local array or other data structure.
Code that smashes the stack can cause a return from the routine to
jump to a random address, resulting in some of the most insidious
data-dependent bugs known to mankind. Variants include `trash'
the stack, {scribble} the stack, {mangle} the stack; the term
**{mung} the stack is not used, as this is never done
intentionally. See {spam}; see also {aliasing bug},
{fandango on core}, {memory leak}, {memory smash},
{precedence lossage}, {overrun screw}.
-- The AI Hackers Dictionary
by writing past the end of a local array or other data structure.
Code that smashes the stack can cause a return from the routine to
jump to a random address, resulting in some of the most insidious
data-dependent bugs known to mankind. Variants include `trash'
the stack, {scribble} the stack, {mangle} the stack; the term
**{mung} the stack is not used, as this is never done
intentionally. See {spam}; see also {aliasing bug},
{fandango on core}, {memory leak}, {memory smash},
{precedence lossage}, {overrun screw}.
-- The AI Hackers Dictionary
Related:
- smash the stack n.
[C programming] To corrupt the execution
stack by writing past the end of a local array or other data
structure.
Code that smashes the stack can cause a return from... - overrun screw: [C programming] n. A variety of {fandango on
core} produced by scribbling past the end of an array (C
implementations typically have no checks for this error).
This is relatively benign and easy to spot if the... - fandango on core: [UNIX/C hackers, from the Mexican dance] n.
In C, a wild pointer that runs out of bounds, causing... - aliasing bug: n. A class of subtle programming errors that can
arise in code that does dynamic allocation,
esp. via `malloc(3)' or equivalent. If several... - fandango on core n.
[Unix/C hackers, from the Iberian
dance] In C,
a wild pointer that runs out of bounds, causing a ... - overrun screw n.
[C programming] A variety of fandango on core produced by scribbling past the end of
implementations typically have no checks for this error).
This is relatively benign and easy to spot if the... - aliasing bug n.
A class of subtle programming errors that
can arise in code that does dynamic allocation,
esp. via malloc(3) or equivalent. If several pointers... - precedence lossage: /pre's*-dens los'*j/ [C programmers] n.
Coding error in an expression due to unexpected grouping... - memory leak: n. An error in a program's dynamic-store allocation
logic that causes it to fail to reclaim discarded memory,
leading to eventual collapse due to memory exhaustion...
