diff options
author | varmojfekoj <theinric@redhat.com> | 2010-07-05 14:41:32 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-07-05 14:41:32 +0200 |
commit | 9de526eccd85324f8cff4968ac6b17fa66648c2b (patch) | |
tree | c07308d0dcad98b4825e311d61179b90344c5775 | |
parent | fcb747c57d2b8beacade7194f99fa1de8fb0a4fb (diff) | |
download | rsyslog-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-- | ChangeLog | 2 | ||||
-rw-r--r-- | runtime/ruleset.c | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -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; |