diff options
author | roberto <roberto@FreeBSD.org> | 2009-12-12 22:29:30 +0000 |
---|---|---|
committer | roberto <roberto@FreeBSD.org> | 2009-12-12 22:29:30 +0000 |
commit | 76d0d9559c6c64adb0eec290749ddb0bc85c99ec (patch) | |
tree | 5a9f13891d1608baf9ad2436ec526b57ad47d3e6 /ntpq/ntpq.c | |
parent | c5461d7d838ecf010f9a551e548b1330f2201aaa (diff) | |
download | FreeBSD-src-76d0d9559c6c64adb0eec290749ddb0bc85c99ec.zip FreeBSD-src-76d0d9559c6c64adb0eec290749ddb0bc85c99ec.tar.gz |
Update ntp vendor code to 4.2.4p8.
This is mainly to fix CVE-2009-3563, a remote DOS.
MFC after: 3 days
Security: CVE-2009-3563
Diffstat (limited to 'ntpq/ntpq.c')
-rw-r--r-- | ntpq/ntpq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ntpq/ntpq.c b/ntpq/ntpq.c index 4835d7e..2e51b35 100644 --- a/ntpq/ntpq.c +++ b/ntpq/ntpq.c @@ -3187,7 +3187,7 @@ cookedprint( else { char b[12]; - (void) snprintf(b, sizeof(b), "%03lo", uval); + (void) snprintf(b, sizeof b, "%03lo", uval); output(fp, name, b); } break; |