Vuln Dev
understanding buffer overflows Oct 31 2007 02:36PM
secacc7 hotmail com (3 replies)
Re: understanding buffer overflows Nov 05 2007 04:53PM
Chris Eagle (cseagle redshift com)
Re: understanding buffer overflows Nov 03 2007 01:12PM
Ben Petering (bjp dfmagicp org)
Re: understanding buffer overflows Nov 01 2007 12:39PM
3APA3A (3APA3A SECURITY NNOV RU)
Dear secacc7 (at) hotmail (dot) com [email concealed],

main() function may actually never return, depending on C compiler
implementation. Try it with different function.

--Wednesday, October 31, 2007, 5:36:22 PM, you wrote to vuln-dev (at) securityfocus (dot) com [email concealed]:

shc> void main()
shc> {
shc> char buffer[10];
shc> char COPY[]="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...";
shc> strcpy((char *)buffer,(char *)COPY);

shc> }

shc> k, this works very well, i got a core dump and have startet
shc> gdb. but in the output from "info all" was eip not overwritten

--
~/ZARAZA http://securityvulns.com/

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus