Note: there are also official repositories on github for most of the repositories present here. Please consider contributing to rsyslog.
For more information read Where to find the rsyslog source code, which applies to rsyslog-related projects (like librelp) as well.

bugfix: segfault on HUP when "HUPIsRestart" was set to "on"
authorvarmojfekoj <theinric@redhat.com>
Mon, 5 Jul 2010 12:41:32 +0000 (14:41 +0200)
committerRainer Gerhards <rgerhards@adiscon.com>
Mon, 5 Jul 2010 12:41:32 +0000 (14:41 +0200)
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>

ChangeLog
runtime/ruleset.c

index 0b9844d..dbd39fa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,8 @@ Version 4.6.3  [v4-stable] (rgerhards), 2010-04-??
     robustness
   - added new configure option that permits to disable and enable an
     extended testbench
+- bugfix: segfault on HUP when "HUPIsRestart" was set to "on"
+  thanks varmojfekoj for the patch
 - bugfix: default for $OMFileFlushOnTXEnd was wrong ("off").
   This, in default mode, caused buffered writing to be used, what
   means that it looked like no output were written or partial
index d98b421..af61f24 100644 (file)
@@ -348,6 +348,7 @@ destructAllActions(void)
 
        CHKiRet(llDestroy(&llRulesets));
        CHKiRet(llInit(&llRulesets, rulesetDestructForLinkedList, keyDestruct, strcasecmp));
+       pDfltRuleset = NULL;
 
 finalize_it:
        RETiRet;