[syslog-ng] [Bug 189] Syslog-ng 3.3.5. 90 segfaults with cmd line options --version and --debug

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Tue Aug 21 11:56:31 CEST 2012


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


Tamás Pál <folti at balabit.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |folti at balabit.hu




--- Comment #1 from Tamás Pál <folti at balabit.hu>  2012-08-21 11:56:31 ---
syslog-ng's internal message handling system is uninitialized, that's what causes the segfault. The following patch will fix it:

--- a/syslog-ng/main.c
+++ b/syslog-ng/main.c
@@ -212,11 +212,13 @@ main(int argc, char *argv[])

   if (display_version)
     {
+      msg_init(TRUE)
       version();
       return 0;
     }
   if (display_module_registry)
     {
+       msg_init(TRUE)
       plugin_list_modules(stdout, TRUE);
       return 0;
     }


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