[syslog-ng] [Bug 208] Memory leak when enabling debug logging

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Sun Oct 28 13:44:13 CET 2012


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





--- Comment #7 from Balazs Scheidler <bazsi at balabit.hu>  2012-10-28 13:44:13 ---
the refactorization stuff is also on 3.4/master now.

commit f26196618d4407f3bb574ea991b36c920fb09c19
Author: Balazs Scheidler <bazsi at balabit.hu>
Date:   Sun Oct 28 13:04:41 2012 +0100

    messages: only allow a single level of recursions

    The code as originally written has permitted a configurable number
    of recursions to detect the positive feedback loop of internal messages.
    This feedback loop may happen when an internal() message triggers
    another internal() which in turn again and so on, effectively eating
    all the available system memory.

    Since we've used a single level of recursions anyway, this patch simplifies
    the related code and frees up 6 bits in the LogMessage structure.

    It also adds some more information into the suppression message, so it can
    be easier to understand.

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

commit d7fd9a401da09ab7d638257293c6fee0f9b8b35d
Author: Balazs Scheidler <bazsi at balabit.hu>
Date:   Sun Oct 28 13:04:35 2012 +0100

    messages: remove redirect_to_syslog functionality

    it was completely unused.


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