[Syslog-ng-commit] syslog-ng--mainline: fixed a possible segmentation fault during HUPs

Balazs Scheidler bazsi at balabit.hu
Sat Dec 3 16:29:37 CET 2005

Link: <http://intra.balabit/cgi-bin/viewarch.cgi/bazsi@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-75>
Revision: syslog-ng--mainline--2.0--patch-75
Archive: bazsi at balabit.hu--bazsi-1
Creator: Balazs Scheidler <bazsi at balabit.hu>
Date: Sat Dec  3 16:29:36 CET 2005
Standard-date: 2005-12-03 15:29:36 GMT
Modified-files: ChangeLog src/afsocket.c
New-patches: bazsi at balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-75
Summary: fixed a possible segmentation fault during HUPs

2005-12-03  Balazs Scheidler <bazsi at balabit.hu>

	* src/afsocket.c (afsocket_sc_init): fixed DGRAM socket
	initialization to actually process incoming data in packets (the
	LR_PKTTERM flag was missed),
	(afsocket_sd_deinit): don't free the connection list items when
	iterating the list as connections are removed from the list when
	they are freed, the loop there only needs to break the circular

Diff stats:
 ChangeLog      |   23 +++++++++++++++++++++++
 src/afsocket.c |   12 +++++++-----
 2 files changed, 30 insertions(+), 5 deletions(-)

More information about the Syslog-ng-commit mailing list