summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--plugins/imptcp/imptcp.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4679d263..01268200 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@ Version 6.5.0 [devel] 2012-0?-??
in some speedup (but serious loss of debugging capabilities)
---------------------------------------------------------------------------
Version 6.3.10 [BETA] 2012-0?-??
+- bugfix: invalid free in imptcp could lead to abort during startup
- bugfix: if debug message could end up in log file when forking
if rsyslog was set to auto-background (thus fork, the default) and debug
mode to stdout was enabled, debug messages ended up in the first log file
diff --git a/plugins/imptcp/imptcp.c b/plugins/imptcp/imptcp.c
index ba323a94..90216b5b 100644
--- a/plugins/imptcp/imptcp.c
+++ b/plugins/imptcp/imptcp.c
@@ -1362,6 +1362,8 @@ CODESTARTendCnfLoad
/* free legacy config vars */
free(cs.pszInputName);
free(cs.lstnIP);
+ cs.pszInputName = NULL;
+ cs.lstnIP = NULL;
ENDendCnfLoad