diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-05-29 12:35:13 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-05-29 12:35:13 +0200 |
commit | 95d9202c099a1bf00a291c384b31d614168ecbb2 (patch) | |
tree | acdcf316e350d1919f595a320619ffdeefdda269 /plugins/imptcp/imptcp.c | |
parent | 6bc629021eb008e1d48627bdac70b1c8b237937b (diff) | |
download | rsyslog-95d9202c099a1bf00a291c384b31d614168ecbb2.tar.gz rsyslog-95d9202c099a1bf00a291c384b31d614168ecbb2.tar.xz rsyslog-95d9202c099a1bf00a291c384b31d614168ecbb2.zip |
bugfix: invalid free in imptcp could lead to abort during startup
Diffstat (limited to 'plugins/imptcp/imptcp.c')
-rw-r--r-- | plugins/imptcp/imptcp.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |