diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-25 15:19:34 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-25 15:19:34 +0200 |
commit | d397bb25265b8b0926af050c4187cfbc5ab074ca (patch) | |
tree | f0e228fed2f4aa6a9017021af8ec036349db1562 /runtime/ruleset.c | |
parent | e273e0ef19f374baf35111584b65e619e3dbcaf8 (diff) | |
download | rsyslog-d397bb25265b8b0926af050c4187cfbc5ab074ca.tar.gz rsyslog-d397bb25265b8b0926af050c4187cfbc5ab074ca.tar.bz2 rsyslog-d397bb25265b8b0926af050c4187cfbc5ab074ca.zip |
fix invalid free caused by optimized script execution
Diffstat (limited to 'runtime/ruleset.c')
-rw-r--r-- | runtime/ruleset.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/ruleset.c b/runtime/ruleset.c index adbce731..2af44bc4 100644 --- a/runtime/ruleset.c +++ b/runtime/ruleset.c @@ -48,6 +48,7 @@ #include "action.h" #include "rainerscript.h" #include "srUtils.h" +#include "modules.h" #include "dirty.h" /* for main ruleset queue creation */ /* static data */ @@ -217,7 +218,7 @@ static rsRetVal execAct(struct cnfstmt *stmt, batch_t *pBatch, sbool *active) { DEFiRet; -dbgprintf("RRRR: execAct: batch of %d elements, active %p\n", batchNumMsgs(pBatch), active); +dbgprintf("RRRR: execAct [%s]: batch of %d elements, active %p\n", modGetName(stmt->d.act->pMod), batchNumMsgs(pBatch), active); pBatch->active = active; stmt->d.act->submitToActQ(stmt->d.act, pBatch); RETiRet; |