[syslog-ng] [Bug 160] memory leak in message buffering

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Sun Mar 11 14:54:57 CET 2012


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


Balazs Scheidler <bazsi at balabit.hu> changed:

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




--- Comment #5 from Balazs Scheidler <bazsi at balabit.hu>  2012-03-11 14:54:57 ---
This patch should fix this:

 commit 3c14a264ab4c76b9372b1288d6808d19ec4d0aed
Author: Balazs Scheidler <bazsi at balabit.hu>
Date:   Sun Mar 11 14:53:55 2012 +0100

    logwriter: fixed a memory leak for messages that couldn't be flushed at once

    Sometimes a message is dequeued, and then can't be posted to the destination
    (probably because of an EAGAIN or something like that). In this case
    it is readded back to the queue. In this case a reference was lost, causing
    a memory leak, but not for all messages, but only for the affected ones.

    Reported-By: Evan Rempel <erempel at uvic.ca>
    Signed-off-by: Balazs Scheidler <bazsi at balabit.hu>


-- 
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