[syslog-ng] [Bug 17] segfault in msg_send_internal_message

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Fri Feb 1 16:49:27 CET 2008


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


Balazs Scheidler <bazsi at balabit.hu> changed:

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




--- Comment #2 from Balazs Scheidler <bazsi at balabit.hu>  2008-02-01 16:49:23 ---
This is probably the same as bug 18, not enough memory, the vasprintf() in glib could not allocate memory and passed a NULL pointer to g_string_append_len()
which caused a failed assertion that formatted another message, which failed again, thus sent a NULL to the internal message handler.

syslog-ng assumes that mallocs never fails and aborts in this case (see bug 18), the interesting point is whether 
syslog-ng actually leaks, or uses the memory for legitimate reasons. It's been a while since I last fixed a memory leak problem.

So I dup this bug to bug #18.


*** This bug has been marked as a duplicate of bug 18 ***


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