summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/tests/libntp/run-decodenetnum.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2016-01-27 07:41:31 +0000
committerdelphij <delphij@FreeBSD.org>2016-01-27 07:41:31 +0000
commitc6068befe92b8a57c14895fce91c3f9f484112ae (patch)
treeb594030d53fff8bb3c208102e7c681b13bd35f59 /contrib/ntp/tests/libntp/run-decodenetnum.c
parent081d2796398eccde663726fb1d7073ada3146548 (diff)
downloadFreeBSD-src-c6068befe92b8a57c14895fce91c3f9f484112ae.zip
FreeBSD-src-c6068befe92b8a57c14895fce91c3f9f484112ae.tar.gz
Fix multiple vulnerabilities of ntp. [SA-16:09]
Fix Linux compatibility layer issetugid(2) system call vulnerability. [SA-16:10] Security: FreeBSD-SA-16:09.ntp Security: FreeBSD-SA-16:10.linux Approved by: so
Diffstat (limited to 'contrib/ntp/tests/libntp/run-decodenetnum.c')
-rw-r--r--contrib/ntp/tests/libntp/run-decodenetnum.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/ntp/tests/libntp/run-decodenetnum.c b/contrib/ntp/tests/libntp/run-decodenetnum.c
index 57b955c..d41f93e 100644
--- a/contrib/ntp/tests/libntp/run-decodenetnum.c
+++ b/contrib/ntp/tests/libntp/run-decodenetnum.c
@@ -55,10 +55,10 @@ int main(int argc, char *argv[])
UnityBegin("decodenetnum.c");
RUN_TEST(test_IPv4AddressOnly, 8);
RUN_TEST(test_IPv4AddressWithPort, 9);
- RUN_TEST(test_IPv6AddressOnly, 11);
- RUN_TEST(test_IPv6AddressWithPort, 12);
- RUN_TEST(test_IllegalAddress, 14);
- RUN_TEST(test_IllegalCharInPort, 15);
+ RUN_TEST(test_IPv6AddressOnly, 10);
+ RUN_TEST(test_IPv6AddressWithPort, 11);
+ RUN_TEST(test_IllegalAddress, 12);
+ RUN_TEST(test_IllegalCharInPort, 13);
return (UnityEnd());
}
OpenPOWER on IntegriCloud