diff options
author | delphij <delphij@FreeBSD.org> | 2016-12-22 16:19:05 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2016-12-22 16:19:05 +0000 |
commit | d0a626af58b2092996e20b0bcb07067a6f709539 (patch) | |
tree | 7565ae572473ac8f7ef771e6ea2ed0eec9799fb9 /contrib/ntp/lib/isc | |
parent | b416700da72fd8eab0a75d60f0634e254cbb9347 (diff) | |
download | FreeBSD-src-d0a626af58b2092996e20b0bcb07067a6f709539.zip FreeBSD-src-d0a626af58b2092996e20b0bcb07067a6f709539.tar.gz |
Fix multiple vulnerabilities of ntp.
Approved by: so
Diffstat (limited to 'contrib/ntp/lib/isc')
-rw-r--r-- | contrib/ntp/lib/isc/netaddr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/ntp/lib/isc/netaddr.c b/contrib/ntp/lib/isc/netaddr.c index 9710466..01f9080 100644 --- a/contrib/ntp/lib/isc/netaddr.c +++ b/contrib/ntp/lib/isc/netaddr.c @@ -280,7 +280,6 @@ isc_netaddr_masktoprefixlen(const isc_netaddr_t *s, unsigned int *lenp) { for (; i < ipbytes; i++) { if (p[i] != 0) return (ISC_R_MASKNONCONTIG); - i++; } *lenp = nbytes * 8 + nbits; return (ISC_R_SUCCESS); |