smashing the stack
Well first of all this is my very first hands on exp. with Assembly...
I was going through the smashing the stack for fun and profit article
and stumblled across with this doubt.
Using the very first example as
void print(int a,int b,int c)
the assembler output is
movl %esp, %ebp
subl $24, %esp
If I make the buffer1 to size 4 the subl is nothing but deducting 4 from
now how is it possible that one byte extra could allocate so much
space when the word size is of 8 bytes. What are these extra bytes for.
Read the board rules and DONT crosspost