[syslog-ng] [Bug 206] New: program_override() and host_override() do not work in 3.4

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Sat Oct 13 16:21:21 CEST 2012


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

           Summary: program_override() and host_override() do not work in
                    3.4
           Product: syslog-ng
           Version: 3.4.x
          Platform: PC
        OS/Version: Linux
            Status: ASSIGNED
          Severity: normal
          Priority: unspecified
         Component: syslog-ng
        AssignedTo: algernon at balabit.hu
        ReportedBy: algernon at balabit.hu
Type of the Report: ---
   Estimated Hours: 0.0


The *Options simplification change (d93d35857e3acac5eb59a9735d8947dedf43a511) broke host_override () & program_override (), because they host_override_len and
program_override_len properties are no longer initialized to -1, but to 0, so when setting an override, a value with 0 length will be set, emptying the
variable instead of setting it to a new value.

This should be fairly easy to fix, this bug is a reminder for myself to not forget it. But if anyone happens to get around to submit a patch before I get
there, so much the better!


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