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

Balazs Scheidler bazsi at balabit.hu
Wed Oct 25 10:19:04 CEST 2006


Link: <http://intra.balabit/cgi-bin/viewarch.cgi/devel@balabit.hu--other-1/syslog-ng--mainline--2.1--patch-15>
Revision: syslog-ng--mainline--2.1--patch-15
Archive: devel at balabit.hu--other-1
Creator: Balazs Scheidler <bazsi at balabit.hu>
Date: Wed Oct 25 10:19:02 CEST 2006
Standard-date: 2006-10-25 08:19:02 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
    devel at balabit.hu--other-1/syslog-ng--mainline--2.1--patch-15
Summary: Forward port: 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                     |   21 +++++++++++++++++++++
 src/logwriter.c               |   12 +++++++++---
 tests/functional/func_test.py |    2 +-
 3 files changed, 31 insertions(+), 4 deletions(-)


More information about the Syslog-ng-commit mailing list