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@balabit.hu--bazsi-1 Creator: Balazs Scheidler <bazsi@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@balabit.hu--bazsi-1/syslog-ng--mainline--2.0--patch-75 Summary: fixed a possible segmentation fault during HUPs Keywords: 2005-12-03 Balazs Scheidler <bazsi@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 references Diff stats: ChangeLog | 23 +++++++++++++++++++++++ src/afsocket.c | 12 +++++++----- 2 files changed, 30 insertions(+), 5 deletions(-)