balabit/syslog-ng — pull request #68 by talien (2014-01-15 11:36:23+00:00)
Title: logmsg: Do not use NULL template_options parameter for log_macro_expand.

In case of time-related macros, it uses the members of the
LogTemplateOptions* structure, but it results in a NULL pointer
dereference. Instead of spraying the log_macro_expand code with NULL checks,
we pass an initialized options structure to the function.