smash the stack

smash the stack

(jargon)In C programming, to corrupt the execution stack bywriting past the end of a local array or other data structure.Code that smashes the stack can cause a return from theroutine to jump to a random address, resulting in insidiousdata-dependent bugs.

Variants include "trash" the stack, scribble the stack,mangle the stack.

See spam; see also aliasing bug, fandango on core,memory leak, memory smash, precedence lossage, overrun screw.