Fedora 7 - buffer overflow detected



hi,

i have tried to compile beast-0.7.1 on Fedora 7, that works
with the beast-guile.patch.
But when i start beast, a "buffer overflow" stop the program.

this is the output from gdb
(gdb) r
Starting program: /usr/bin/beast 
*** buffer overflow detected ***: /usr/bin/beast terminated
======= Backtrace: =========
/lib/libc.so.6(__chk_fail+0x41)[0x7b0ce1]
/lib/libc.so.6[0x7b01a7]
/usr/bin/beast[0x8048bd8]
/usr/bin/beast[0x8048908]
/lib/libc.so.6(__libc_start_main+0xe0)[0x6e1f70]
/usr/bin/beast[0x8048631]
======= Memory map: ========
004af000-004b0000 r-xp 004af000 00:00 0          [vdso]
006a9000-006c4000 r-xp 00000000 08:01 24182793   /lib/ld-2.6.so
006c4000-006c5000 r-xp 0001a000 08:01 24182793   /lib/ld-2.6.so
006c5000-006c6000 rwxp 0001b000 08:01 24182793   /lib/ld-2.6.so
006cc000-0081a000 r-xp 00000000 08:01 24182795   /lib/libc-2.6.so
0081a000-0081c000 r-xp 0014e000 08:01 24182795   /lib/libc-2.6.so
0081c000-0081d000 rwxp 00150000 08:01 24182795   /lib/libc-2.6.so
0081d000-00820000 rwxp 0081d000 00:00 0 
00ae4000-00aef000 r-xp 00000000 08:01
24182818   /lib/libgcc_s-4.1.2-20070503.so.1
00aef000-00af0000 rwxp 0000a000 08:01
24182818   /lib/libgcc_s-4.1.2-20070503.so.1
08048000-08049000 r-xp 00000000 08:01 77040893   /usr/bin/beast
08049000-0804a000 rw-p 00000000 08:01 77040893   /usr/bin/beast
090bc000-090dd000 rw-p 090bc000 00:00 0 
b7f66000-b7f68000 rw-p b7f66000 00:00 0 
bfa4f000-bfa65000 rw-p bfa4f000 00:00 0          [stack]

Program received signal SIGABRT, Aborted.
0x004af402 in __kernel_vsyscall ()
(gdb) bt
#0  0x004af402 in __kernel_vsyscall ()
#1  0x006f4fa0 in raise () from /lib/libc.so.6
#2  0x006f68b1 in abort () from /lib/libc.so.6
#3  0x0072bebb in __libc_message () from /lib/libc.so.6
#4  0x007b0ce1 in __chk_fail () from /lib/libc.so.6
#5  0x007b01a7 in __strcat_chk () from /lib/libc.so.6
#6  0x08048bd8 in custom_find_executable (argc_p=0xbfa618a0,
argv_p=0xbfa618a4) at beaststart.c:43
#7  0x08048908 in main (argc=Cannot access memory at address 0x6
) at suidmain.c:131

any hints ?

thanks Martin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]