[Syslog-ng-commit] syslog-ng--mainline: fixed a possible
segmentation fault on write errors
Balazs Scheidler
bazsi at balabit.hu
Wed Mar 22 16:39:59 CET 2006
Link: <http://intra.balabit/cgi-bin/viewarch.cgi/devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-26>
Revision: syslog-ng--mainline--2.0--patch-26
Archive: devel at balabit.hu--other-1
Creator: Balazs Scheidler <bazsi at balabit.hu>
Date: Wed Mar 22 16:39:58 CET 2006
Standard-date: 2006-03-22 15:39:58 GMT
Modified-files: ChangeLog src/logwriter.c
New-patches: devel at balabit.hu--other-1/syslog-ng--mainline--2.0--patch-26
Summary: fixed a possible segmentation fault on write errors
Keywords:
* src/logwriter.c (log_writer_flush_log): return from the function
on error instead of looping with line == NULL, this fixes a possible
SIGSEGV, when some messages sit in the queue while the destination
goes away
Diff stats:
ChangeLog | 16 ++++++++++++++++
src/logwriter.c | 1 +
2 files changed, 17 insertions(+)
More information about the Syslog-ng-commit
mailing list