--- ntp-4.0.99j/libntp/msyslog.c.vsnprintf Wed Aug 23 13:04:18 2000 +++ ntp-4.0.99j/libntp/msyslog.c Wed Aug 23 13:06:05 2000 @@ -126,6 +126,7 @@ *n = '\0'; vsnprintf(buf, sizeof(buf), nfmt, ap); + buf[sizeof(buf)-1] = '\0'; #if !defined(VMS) && !defined (SYS_VXWORKS) if (syslogit) #ifndef SYS_WINNT