summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvarmojfekoj <theinric@redhat.com>2010-07-05 14:41:32 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-07-05 14:41:32 +0200
commit9de526eccd85324f8cff4968ac6b17fa66648c2b (patch)
treec07308d0dcad98b4825e311d61179b90344c5775
parentfcb747c57d2b8beacade7194f99fa1de8fb0a4fb (diff)
downloadrsyslog-9de526eccd85324f8cff4968ac6b17fa66648c2b.tar.gz
rsyslog-9de526eccd85324f8cff4968ac6b17fa66648c2b.tar.xz
rsyslog-9de526eccd85324f8cff4968ac6b17fa66648c2b.zip
bugfix: segfault on HUP when "HUPIsRestart" was set to "on"
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
-rw-r--r--ChangeLog2
-rw-r--r--runtime/ruleset.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0b9844d3..dbd39fab 100644
--- 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
diff --git a/runtime/ruleset.c b/runtime/ruleset.c
index d98b4217..af61f24f 100644
--- a/runtime/ruleset.c
+++ b/runtime/ruleset.c
@@ -348,6 +348,7 @@ destructAllActions(void)
CHKiRet(llDestroy(&llRulesets));
CHKiRet(llInit(&llRulesets, rulesetDestructForLinkedList, keyDestruct, strcasecmp));
+ pDfltRuleset = NULL;
finalize_it:
RETiRet;