Friday, May 7, 2010

Stack overflow

Function calls in C program usually pass parameter via stack. A caller program will store
parameters into stack before calling a function. The function will then locate the
parameters from the stack. Stack also will contain return address so that the function can
jump back to the caller program. If we can submit data more than previously allocated
space, we can overflow the dedicated space and if we can overwrite the stack, we call this
Stack Based Overflow. Overflow the stack is especially fun because stack usually contain
return address. For more information about it, you may want to look at a classic article
from Aleph One (

No comments:

Post a Comment

Dear Reader, if you like My Blog content, feel free to comment on our blog posts.