[Syslog-ng-commit] syslog-ng--mainline: fixed a possible SEGFAULT caused by one of the leak fixes, when output templates() are used

Balazs Scheidler bazsi at balabit.hu
Thu Sep 14 14:34:46 CEST 2006


Link: <http://intra.balabit/cgi-bin/viewarch.cgi/devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-81>
Revision: syslog-ng--mainline--2.0--patch-81
Archive: devel at balabit.hu--other-1
Creator: Balazs Scheidler <bazsi at balabit.hu>
Date: Thu Sep 14 14:34:44 CEST 2006
Standard-date: 2006-09-14 12:34:44 GMT
Modified-files: ChangeLog src/logwriter.c
    tests/functional/func_test.py
New-patches: devel at balabit.hu--other-1/syslog-ng--mainline--2.0--patch-81
Summary: fixed a possible SEGFAULT caused by one of the leak fixes, when output templates() are used 
Keywords: 

2006-09-14  Balazs Scheidler <bazsi at balabit.hu>

	* src/logwriter.c (log_writer_options_init): save options->template
	before calling log_writer_options_destroy and restore it afterwards
	as that is never initialized based on the configuration

Diff stats:
 ChangeLog                     |   18 ++++++++++++++++++
 src/logwriter.c               |   12 +++++++++---
 tests/functional/func_test.py |    2 +-
 3 files changed, 28 insertions(+), 4 deletions(-)


More information about the Syslog-ng-commit mailing list