]>
Commit | Line | Data |
---|---|---|
ce2f2f2f | 1 | --- ntp-4.0.99j/libntp/msyslog.c.vsnprintf Wed Aug 23 13:04:18 2000 |
2 | +++ ntp-4.0.99j/libntp/msyslog.c Wed Aug 23 13:06:05 2000 | |
4d2a1b35 | 3 | @@ -126,6 +126,7 @@ |
ce2f2f2f | 4 | *n = '\0'; |
5 | ||
4d2a1b35 | 6 | vsnprintf(buf, sizeof(buf), nfmt, ap); |
ce2f2f2f | 7 | + buf[sizeof(buf)-1] = '\0'; |
8 | #if !defined(VMS) && !defined (SYS_VXWORKS) | |
9 | if (syslogit) | |
10 | #ifndef SYS_WINNT |