[syslog-ng] syslog-ng 3.3.3 default year is wrong

Gergely Nagy algernon at balabit.hu
Fri Dec 2 23:20:37 CET 2011


Evan Rempel <erempel at uvic.ca> writes:

> When parsing a source that has a month and day but no year, the S_YEAR macro does not default
> to R_YEAR. It seems to be defaulting to R_YEAR+1
>
> What is the intention when there is no year in the source?

This sounds interesting. A quick look at the code didn't reveal anything
obviously wrong. I'll see what I can do about it, since reproduction
seems easy enough (and then it's just a little bit of gdb-magic away to
spot the error).

Thanks for the report!

-- 
|8]



More information about the syslog-ng mailing list