[syslog-ng] [Bug 119] Compiling syslog-ng 3.2.3 with gcc 4.6: warnings

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Wed May 4 14:06:05 CEST 2011


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


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-05-04 14:06:04 ---
Thanks for your report. It's nice to see you back Jose :)

I've committed & pushed a series of patches to 3.2 master that fix most of the warnings. Some that complains about chown/chmod I didn't fix, as:

1) there's a related change in newer versions of syslog-ng, and I didn't want to diverge, nor backport that code
2) I really don't want to handle these errors, but ignore them silently.

There was one ugly bug that was revealed by these warnings which is definitely worth fixing. One of the syslog-ng supplied macros used by the generated parser
file contained a possible out-of-bounds reference, which could've cause crashes when the config file is being parsed and an error is reported against it, as
the uninitialized pointer would be used in the error path. 

The rest of the warnings were not real bugs, but better have them fixed.


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