Package: syslog-ng Version: 3.1.3-2 Severity: normal
Whilst overhauling our syslog infrastructure, I noticed garbage was appearing in our logs. I use the following template when writing to files: template("$ISODATE $FULLHOST <$FACILITY.$PRIORITY> $MSGHDR$MSGONLY\n") It turns out[1] that normalize_hostnames() has an off-by-one problem and a patch was produced[2] soon after 3.1.3 was released. The bug means $HOST/$FULLHOST do not include a NULL terminator at the end of the string, so garbage appears. Any chance of including the fix? Cheers [1] http://marc.info/?l=syslog-ng&m=129044796131859&w=2 [2] http://git.balabit.hu/?p=bazsi/syslog-ng-3.1.git;a=commitdiff;h=f6efe1a82c3726c7f65ca0dd173af8d3f58824aa;hp=3361f72c6c35d198e174200780d9744604e2cdf6 -- System Information: Debian Release: 6.0 APT prefers testing APT policy: (500, 'testing') Architecture: armel (armv5tel) Kernel: Linux 2.6.32-5-kirkwood Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages syslog-ng depends on: ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libcap2 1:2.19-3 support for getting/setting POSIX. ii libdbi0 0.8.2-3 Database Independent Abstraction L ii libevtlog0 0.2.8~1-2 Syslog event logger library ii libgcc1 1:4.4.5-8 GCC support library ii libglib2.0-0 2.24.2-1 The GLib library of C routines ii libnet1 1.1.4-2 library for the construction and h ii libpcre3 8.02-1.1 Perl 5 Compatible Regular Expressi ii libssl0.9.8 0.9.8o-4 SSL shared libraries ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers libra ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages syslog-ng recommends: ii logrotate 3.7.8-6 Log rotation utility Versions of packages syslog-ng suggests: pn libdbd-mysql <none> (no description available) pn libdbd-pgsql <none> (no description available) pn libdbd-sqlite3 <none> (no description available) -- Configuration Files: /etc/syslog-ng/syslog-ng.conf changed [not included] -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org