syslog-ng--mainline: fixed a possible segmentation fault on write errors
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@balabit.hu--other-1 Creator: Balazs Scheidler <bazsi@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@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(+)
participants (1)
-
bazsi@balabit.hu