Bug 18745 - Падает из-за переполнением буфера.
Summary: Падает из-за переполнением буфера.
Status: CLOSED WONTFIX
Alias: None
Product: Sisyphus
Classification: Development
Component: sarg (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Nobody's working on this, feel free to take it
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-05 00:09 MSK by Alexei V. Mezin
Modified: 2018-07-19 19:34 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexei V. Mezin 2009-02-05 00:09:00 MSK
Если в лог-файле встречается строка длиннее чем определенное (и не очень большое) число символов, sarg падает.

SARG: Создание файла: /tmp/sarg/172.21.15.102
*** buffer overflow detected ***: sarg terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x4b)[0xb7e4412b]
/lib/libc.so.6[0xb7e422c0]
/lib/libc.so.6(__strcpy_chk+0x44)[0xb7e415e4]
sarg[0x8055979]
sarg[0x8051dfe]
/lib/libc.so.6(__libc_start_main+0xe5)[0xb7d79925]
sarg[0x80493b1]

Обсуждение найдено тут: 
https://bugzilla.novell.com/show_bug.cgi?id=381125

Баг в апстриме висит, там же есть и патч, устраняющий проблему.
http://sourceforge.net/tracker/index.php?func=detail&aid=1948026&group_id=68910&atid=522791
Comment 1 Grigory Ustinov 2018-07-19 19:34:33 MSK
Такого пакета больше нет в сизифе. Закрываю багу.