#143 buffer overflow

closed-fixed
nobody
General (16)
5
2011-03-18
2008-11-29
Anonymous
No

Colorer-take5 Library be5 Fri Jul 11 08:43:15 2008

$ cat test.cs | colorer -h -dc -dh -db -ds -tcsharp

*** buffer overflow detected ***: colorer terminated
======= Backtrace: =========
/lib/i686/libc.so.6(__fortify_fail+0x48)[0xb7e367c8]
/lib/i686/libc.so.6[0xb7e34860]
/lib/i686/libc.so.6(__gets_chk+0x195)[0xb7e347e5]
colorer[0x808bf38]
[0x14]
======= Memory map: ========
08048000-080b0000 r-xp 00000000 08:05 713790 /usr/bin/colorer
080b0000-080b6000 rw-p 00068000 08:05 713790 /usr/bin/colorer
09712000-09734000 rw-p 09712000 00:00 0 [heap]
b7d37000-b7d39000 rw-p b7d37000 00:00 0
b7d39000-b7d46000 r-xp 00000000 08:05 593839 /lib/libgcc_s-4.3.2.so.1
b7d46000-b7d47000 rw-p 0000c000 08:05 593839 /lib/libgcc_s-4.3.2.so.1
b7d47000-b7e8f000 r-xp 00000000 08:05 592780 /lib/i686/libc-2.8.so
b7e8f000-b7e91000 r--p 00148000 08:05 592780 /lib/i686/libc-2.8.so
b7e91000-b7e92000 rw-p 0014a000 08:05 592780 /lib/i686/libc-2.8.so
b7e92000-b7e95000 rw-p b7e92000 00:00 0
b7e95000-b7eb9000 r-xp 00000000 08:05 592740 /lib/i686/libm-2.8.so
b7eb9000-b7eba000 r--p 00023000 08:05 592740 /lib/i686/libm-2.8.so
b7eba000-b7ebb000 rw-p 00024000 08:05 592740 /lib/i686/libm-2.8.so
b7ebb000-b7fa1000 r-xp 00000000 08:05 703302 /usr/lib/libstdc++.so.6.0.10
b7fa1000-b7fa5000 r--p 000e5000 08:05 703302 /usr/lib/libstdc++.so.6.0.10
b7fa5000-b7fa6000 rw-p 000e9000 08:05 703302 /usr/lib/libstdc++.so.6.0.10
b7fa6000-b7fad000 rw-p b7fa6000 00:00 0
b7fcc000-b7fcd000 rw-p b7fcc000 00:00 0
b7fcd000-b7fe7000 r-xp 00000000 08:05 587530 /lib/ld-2.8.so
b7fe7000-b7fe8000 r--p 00019000 08:05 587530 /lib/ld-2.8.so
b7fe8000-b7fe9000 rw-p 0001a000 08:05 587530 /lib/ld-2.8.so
bfbd3000-bfbe8000 rw-p bffeb000 00:00 0 [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
Аварийный останов

Discussion

  • test file

     
    Attachments
    • status: open --> closed-fixed