Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

smash the stack

You are here: irt.org | FOLDOC | smash the stack

<jargon> In 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 the routine to jump to a random address, resulting in insidious data-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.

[Jargon File]


Nearby terms: smart terminal « smash case « smash sum « smash the stack » SMB » smbclient » smblib

FOLDOC, Topics, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, ?, ALL

©2018 Martin Webb