|
|||||||||||
|
RE: Administrivia: List Announcement
From: Cameron Brown <cameron(at)greyzone.com>
Date: Tue May 13 2003 - 19:13:50 EDT
-----Original Message-----
On Tue, 13 May 2003, Cameron Brown wrote: > If I supply an argv[1] of > 252 bytes, then byte 253 may (depending on
> many factors) overwrite the first byte of buf2. This is going to be
Hmmm, for me it seg faults on free(buf1). I am running on Linux BTW, here is some output from gdb: [shafik@localhost VULNDEV]$ ./a.out `perl -e 'print "A"x2000'` `perl -e 'print "B"x2000'` Segmentation fault (core dumped) [shafik@localhost VULNDEV]$ gdb ./a.out ./core GNU gdb Red Hat Linux (5.2-2) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux"... Core was generated by `./a.out AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 #0 0x400aa1e6 in chunk_free (ar_ptr=0x4015bc80, p=0x8049770) at malloc.c:3242 3242 malloc.c: No such file or directory.
in malloc.c
-- Those who dream by day are cognizant of many things which escape those who dream only by night. -Edgar Allan PoeReceived on Tue May 13 20:53:27 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:39 EDT |
||||||||||
|
|||||||||||