[users] sarg-2.2.3.1-1.el5.rf *** buffer overflow detected ***

Alain Reguera Delgado alain.reguera at gmail.com
Wed Mar 26 21:24:00 CET 2008


Hi guys,

Could you help interpret/fix, the following sarg error ? The daily and
weekly reports do work normally but monthly don't. I am using CentOS
5.

----
[root at orion cron.monthly]# ./sarg
*** buffer overflow detected ***: /usr/bin/sarg terminated
======= Backtrace: =========
/lib/libc.so.6(__chk_fail+0x41)[0x4ee3a1]
/lib/libc.so.6[0x4edbb8]
/lib/libc.so.6(_IO_default_xsputn+0xcd)[0x46f1bd]
/lib/libc.so.6(_IO_vfprintf+0xf6c)[0x44860c]
/lib/libc.so.6(__vsprintf_chk+0xad)[0x4edc6d]
/lib/libc.so.6(__sprintf_chk+0x30)[0x4edba0]
/usr/bin/sarg[0x804ae62]
/usr/bin/sarg[0x806a383]
/usr/bin/sarg[0x8054f17]
/usr/bin/sarg[0x8052096]
/lib/libc.so.6(__libc_start_main+0xdc)[0x421dec]
/usr/bin/sarg[0x8049711]
======= Memory map: ========
00110000-0011f000 r-xp 00000000 fd:00 1836669    /lib/libresolv-2.5.so
0011f000-00120000 r-xp 0000e000 fd:00 1836669    /lib/libresolv-2.5.so
00120000-00121000 rwxp 0000f000 fd:00 1836669    /lib/libresolv-2.5.so
00121000-00123000 rwxp 00121000 00:00 0
00123000-0012e000 r-xp 00000000 fd:00 1835254
/lib/libgcc_s-4.1.2-20070626.so.1
0012e000-0012f000 rwxp 0000a000 fd:00 1835254
/lib/libgcc_s-4.1.2-20070626.so.1
001c0000-001c1000 r-xp 001c0000 00:00 0          [vdso]
00344000-0034d000 r-xp 00000000 fd:00 1835048    /lib/libnss_files-2.5.so
0034d000-0034e000 r-xp 00008000 fd:00 1835048    /lib/libnss_files-2.5.so
0034e000-0034f000 rwxp 00009000 fd:00 1835048    /lib/libnss_files-2.5.so
003ef000-00408000 r-xp 00000000 fd:00 1835010    /lib/ld-2.5.so
00408000-00409000 r-xp 00019000 fd:00 1835010    /lib/ld-2.5.so
00409000-0040a000 rwxp 0001a000 fd:00 1835010    /lib/ld-2.5.so
0040c000-00546000 r-xp 00000000 fd:00 1835037    /lib/libc-2.5.so
00546000-00548000 r-xp 0013a000 fd:00 1835037    /lib/libc-2.5.so
00548000-00549000 rwxp 0013c000 fd:00 1835037    /lib/libc-2.5.so
00549000-0054c000 rwxp 00549000 00:00 0
00554000-0057b000 r-xp 00000000 fd:00 2531280    /usr/lib/libfontconfig.so.1.1.0
0057b000-00583000 rwxp 00027000 fd:00 2531280    /usr/lib/libfontconfig.so.1.1.0
00585000-005a6000 r-xp 00000000 fd:00 2526243    /usr/lib/libjpeg.so.62.0.0
005a6000-005a7000 rwxp 00020000 fd:00 2526243    /usr/lib/libjpeg.so.62.0.0
005a9000-005ab000 r-xp 00000000 fd:00 2528422    /usr/lib/libXau.so.6.0.0
005ab000-005ac000 rwxp 00001000 fd:00 2528422    /usr/lib/libXau.so.6.0.0
005ae000-005b3000 r-xp 00000000 fd:00 2531461    /usr/lib/libXdmcp.so.6.0.0
005b3000-005b4000 rwxp 00004000 fd:00 2531461    /usr/lib/libXdmcp.so.6.0.0
005ce000-005f3000 r-xp 00000000 fd:00 1835200    /lib/libm-2.5.so
005f3000-005f4000 r-xp 00024000 fd:00 1835200    /lib/libm-2.5.so
005f4000-005f5000 rwxp 00025000 fd:00 1835200    /lib/libm-2.5.so
00602000-00614000 r-xp 00000000 fd:00 2528702    /usr/lib/libz.so.1.2.3
00614000-00615000 rwxp 00011000 fd:00 2528702    /usr/lib/libz.so.1.2.3
00617000-00694000 r-xp 00000000 fd:00 2528764    /usr/lib/libfreetype.so.6.3.10
00694000-00697000 rwxp 0007d000 fd:00 2528764    /usr/lib/libfreetype.so.6.3.10
00699000-006be000 r-xp 00000000 fd:00 2531459    /usr/lib/libpng12.so.0.10.0
006be000-006bf000 rwxp 00024000 fd:00 2531459    /usr/lib/libpng12.so.0.10.0
006c1000-006e0000 r-xp 00000000 fd:00 2531311    /usr/lib/libgd.so.2.0.0
006e0000-00700000 rwxp 0001e000 fd:00 2531311    /usr/lib/libgd.so.2.0.0
00700000-00714000 rwxp 00700000 00:00 0
00757000-00776000 r-xp 00000000 fd:00 1835187    /lib/libexpat.so.0.5.0
00776000-00778000 rwxp 0001e000 fd:00 1835187    /lib/libexpat.so.0.5.0
007cf000-007d1000 r-xp 00000000 fd:00 1245185    /lib/libdl-2.5.so
007d1000-007d2000 r-xp 00001000 fd:00 1245185    /lib/libdl-2.5.so
007d2000-007d3000 rwxp 00002000 fd:00 1245185    /lib/libdl-2.5.so
008e0000-009df000 r-xp 00000000 fd:00 2531559    /usr/lib/libX11.so.6.2.0
009df000-009e3000 rwxp 000fe000 fd:00 2531559    /usr/lib/libX11.so.6.2.0
009e5000-009f5000 r-xp 00000000 fd:00 2531457    /usr/lib/libXpm.so.4.11.0
009f5000-009f6000 rwxp 00010000 fd:00 2531457    /usr/lib/libXpm.so.4.11.0
00fb3000-00fb7000 r-xp 00000000 fd:00 1835046    /lib/libnss_dns-2.5.so
00fb7000-00fb8000 r-xp 00003000 fd:00 1835046    /lib/libnss_dns-2.5.so
00fb8000-00fb9000 rwxp 00004000 fd:00 1835046    /lib/libnss_dns-2.5.so
08047000-08083000 r-xp 00000000 fd:00 2531574    /usr/bin/sarg
08083000-0808f000 rw-p 0003b000 fd:00 2531574    /usr/bin/sarg
0808f000-08234000 rw-p 0808f000 00:00 0
08d98000-08db9000 rw-p 08d98000 00:00 0
b7f85000-b7f96000 rw-p b7f85000 00:00 0
b7f96000-b7f99000 rw-p b7f96000 00:00 0
bf9ca000-bfaa8000 rw-p bf9ca000 00:00 0          [stack]
Aborted
----

Any idea ?

Thank you very much.

Cheers,
al.



More information about the users mailing list