[syslog-ng] [Bug 128] template() broken in latest 3.3 git

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Sun Jul 3 23:54:27 CEST 2011


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


Gergely Nagy <algernon at balabit.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|bazsi at balabit.hu            |algernon at balabit.hu
             Status|NEW                         |ASSIGNED




--- Comment #2 from Gergely Nagy <algernon at balabit.hu>  2011-07-03 23:54:27 ---
Created an attachment (id=40)
 --> (https://bugzilla.balabit.com/attachment.cgi?id=40)
Patch fixing the problem.

Reviewed the commit bisecting arrived to, specifically looking at what the different parser components do with templates, and found that the template() parser
in cfg-grammar.y broke in that patch: last_writer_options->template was initialized in that block prior to the patch, but the patch removed the initialization,
leaving only the CHECK_ERROR call.

The attached patch fixes this, by reintroducing the initialization.

This problem might be present in more cases too, I haven't verified all of them yet. If further cases are found, I will update the patch.


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