[syslog-ng] [Bug 106] Syslog-ng memory strdup and g_malloc leaks

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Sun Oct 23 09:17:57 CEST 2011


https://bugzilla.balabit.com/show_bug.cgi?id=106


Balazs Scheidler <bazsi at balabit.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|                            |FIXED
             Status|NEW                         |RESOLVED




--- Comment #2 from Balazs Scheidler <bazsi at balabit.hu>  2011-10-23 09:17:57 ---

The 2nd leak is already closed

commit 6105f8313988bc97d333bf7ab456e0ea9e62d670
Author: Balazs Scheidler <bazsi at balabit.hu>
Date:   Sat Aug 20 13:09:34 2011 +0200

    persist-state: fixed a memory small leak

    This patch closes a small memory leak at startup + SIGHUP time as
    the SerializeArchive object wasn't properly destructed. The leak was
    small, and repeated at SIGHUPs.

    Signed-off-by: Balazs Scheidler <bazsi at balabit.hu>

To close the first one (if it wasn't so far) we'd need line number information. 
Probably a free() is missed in the parser, causing a 16 byte leak on every reload.


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list