[root@IMI sarg]# sarg
*** buffer overflow detected ***: sarg terminated
======= Backtrace: =========
/lib/libc.so.6(__chk_fail+0x41)[0x4bf49161]
/lib/libc.so.6(__strcpy_chk+0x43)[0x4bf48663]
sarg[0x80630da]
sarg[0x806470e]
sarg[0x804f639]
/lib/libc.so.6(__libc_start_main+0xdc)[0x4be7df2c]
sarg[0x8049641]
======= Memory map: ========
00110000-0011b000 r-xp 00000000 fd:00 2190745 /lib/libgcc_s-4.1.1-20061011.so.1
0011b000-0011c000 rwxp 0000a000 fd:00 2190745 /lib/libgcc_s-4.1.1-20061011.so.1
00f10000-00f11000 r-xp 00f10000 00:00 0 [vdso]
08047000-08082000 r-xp 00000000 fd:00 4847576 /usr/bin/sarg
08082000-0808e000 rwxp 0003b000 fd:00 4847576 /usr/bin/sarg
0808e000-08224000 rwxp 0808e000 00:00 0
09cfb000-09d1c000 rwxp 09cfb000 00:00 0
4be4b000-4be64000 r-xp 00000000 fd:00 2190731 /lib/ld-2.5.so
4be64000-4be65000 r-xp 00018000 fd:00 2190731 /lib/ld-2.5.so
4be65000-4be66000 rwxp 00019000 fd:00 2190731 /lib/ld-2.5.so
4be68000-4bf9f000 r-xp 00000000 fd:00 2190732 /lib/libc-2.5.so
4bf9f000-4bfa1000 r-xp 00137000 fd:00 2190732 /lib/libc-2.5.so
4bfa1000-4bfa2000 rwxp 00139000 fd:00 2190732 /lib/libc-2.5.so
4bfa2000-4bfa5000 rwxp 4bfa2000 00:00 0
4bfa7000-4bfa9000 r-xp 00000000 fd:00 2190734 /lib/libdl-2.5.so
4bfa9000-4bfaa000 r-xp 00001000 fd:00 2190734 /lib/libdl-2.5.so
4bfaa000-4bfab000 rwxp 00002000 fd:00 2190734 /lib/libdl-2.5.so
4bfad000-4bfd2000 r-xp 00000000 fd:00 2190739 /lib/libm-2.5.so
4bfd2000-4bfd3000 r-xp 00024000 fd:00 2190739 /lib/libm-2.5.so
4bfd3000-4bfd4000 rwxp 00025000 fd:00 2190739 /lib/libm-2.5.so
4bfef000-4c001000 r-xp 00000000 fd:00 4840531 /usr/lib/libz.so.1.2.3
4c001000-4c002000 rwxp 00011000 fd:00 4840531 /usr/lib/libz.so.1.2.3
4c049000-4c059000 r-xp 00000000 fd:00 4841835 /usr/lib/libXpm.so.4.11.0
4c059000-4c05a000 rwxp 00010000 fd:00 4841835 /usr/lib/libXpm.so.4.11.0
4c088000-4c08a000 r-xp 00000000 fd:00 4841997 /usr/lib/libXau.so.6.0.0
4c08a000-4c08b000 rwxp 00001000 fd:00 4841997 /usr/lib/libXau.so.6.0.0
4c08d000-4c092000 r-xp 00000000 fd:00 4840505 /usr/lib/libXdmcp.so.6.0.0
4c092000-4c093000 rwxp 00004000 fd:00 4840505 /usr/lib/libXdmcp.so.6.0.0
4c095000-4c0b4000 r-xp 00000000 fd:00 4848914 /usr/lib/libgd.so.2.0.0
4c0b4000-4c0d4000 rwxp 0001e000 fd:00 4848914 /usr/lib/libgd.so.2.0.0
4c0d4000-4c0e8000 rwxp 4c0d4000 00:00 0
4c135000-4c233000 r-xp 00000000 fd:00 4841108 /usr/lib/libX11.so.6.2.0
4c233000-4c237000 rwxp 000fe000 fd:00 4841108 /usr/lib/libX11.so.6.2.0
4c2ac000-4c2cb000 r-xp 00000000 fd:00 2190750 /lib/libexpat.so.0.5.0
4c2cb000-4c2cd000 rwxp 0001e000 fd:00 2190750 /lib/libexpat.so.0.5.0
4c480000-4c4a7000 r-xp 00000000 fd:00 4841480 /usr/lib/libfontconfig.so.1.1.0
4c4a7000-4c4af000 rwxp 00027000 fd:00 4841480 /usr/lib/libfontconfig.so.1.1.0
4c62a000-4c6a7000 r-xp 00000000 fd:00 4845761 /usr/lib/libfreetype.so.6.3.10
4c6a7000-4c6aa000 rwxp 0007d000 fd:00 4845761 /usr/lib/libfreetype.so.6.3.10
4c962000-4c987000 r-xp 00000000 fd:00 4844912 /usr/lib/libpng12.so.0.10.0
4c987000-4c988000 rwxp 00024000 fd:00 4844912 /usr/lib/libpng12.so.0.10.0
4cda2000-4cdc3000 r-xp 00000000 fd:00 4849878 /usr/lib/libjpeg.so.62.0.0
4cdc3000-4cdc4000 rwxp 00020000 fd:00 4849878 /usr/lib/libjpeg.so.62.0.0
b7f1f000-b7f23000 rw-p b7f1f000 00:00 0
b7f28000-b7f2a000 rw-p b7f28000 00:00 0
bff3d000-bff99000 rw-p bff3d000 00:00 0 [stack]
Aborted
что неправельно зделал я ?
В конфиг всё нормально здеалал.
Почему выдаёт эту ошибку ?
Help please.
Жду ответа.
OS: Fedora Core 6
Sarg version: sarg-2.2.1-1.fc6.rf.i386
>OS: Fedora Core 6
>Sarg version: sarg-2.2.1-1.fc6.rf.i386SARG Aug/29/2006 Version 2.2.2
- malloc test implemented to avoid high-memory consuming.
Thanks to Rodrigo Rubira Branco <rodrigo@kernelhacking.com>
- Czech UTF8 language added by Josef Karliak <karliak@ajetaci.cz>
- fixed: parsed mismatch in realtime_access_log_lines and
access_log_lines tags.
Thanks to Kuznetsov Andrey <pm_kan@mail.ru>
- changed: realtime report sort changed by date/time
Thanks to Leonardo Buonsanti <leonardo.buonsanti@gmail.com>
- GD minor fixes added.
- bug fixed. *** buffer overflow detected ***: sarg terminated
in Fedora Core 5 when using -D FORTIFY_SOURCE in gcc or in kernel.
Обнови версию, ставб последнюю типа version 2.2.3.1
У меня такая же ошибка возникала из-за подключения в SARG squidGuard вот эта строка в конфиге:
squidGuard_conf /путь к squidGuard.conf