From 6fff4ae3329e852586f3a14ac8b8369bc6d61148 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 10 Jul 2009 13:56:46 +0200 Subject: bugfix: potential segfault when zip-compressed syslog records were received (double free) --- ChangeLog | 2 ++ runtime/parser.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9ce8a3de..c10ba81c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ --------------------------------------------------------------------------- Version 4.5.1 [DEVEL] (rgerhards), 2009-07-?? +- bugfix: potential segfault when zip-compressed syslog records were + received (double free) - bugfix: properties inputname, fromhost, fromhost-ip, msg were lost when working with disk queues - performance enhancement: much faster, up to twice as fast (depending diff --git a/runtime/parser.c b/runtime/parser.c index a5183105..a2538fa3 100644 --- a/runtime/parser.c +++ b/runtime/parser.c @@ -115,7 +115,6 @@ static inline rsRetVal uncompressMessage(msg_t *pMsg) FINALIZE; /* unconditional exit, nothing left to do... */ } MsgSetRawMsg(pMsg, (char*)deflateBuf, iLenDefBuf); - free(deflateBuf); } finalize_it: if(deflateBuf != NULL) -- cgit v1.2.3