[syslog-ng] [Bug 238] syslog-protocol: allow NILVALUE for TIMESTAMP as specified in rfc5424

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Fri Jul 5 21:15:59 CEST 2013


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





--- Comment #9 from Vincent Brillault <spam at lerya.net>  2013-07-05 21:15:59 ---
Are you sure that it will do nothing ?

I have some problems with the last line (L438):
'''
self->timestamps[LM_TS_STAMP].tv_sec = self->timestamps[LM_TS_STAMP].tv_sec +
                                              get_local_timezone_ofs(self->timestamps[LM_TS_STAMP].tv_sec) -
                                              (tm.tm_hour - unnormalized_hour) * 3600 - self->timestamps[LM_TS_STAMP].zone_offset;
'''

In the '-' path, aren't tm and unnormalized_hour uninitialised ?


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