Blame SOURCES/ntp-4.2.6p5-cve-2016-2518.patch
|
|
72fc97 |
diff -up ntp-4.2.6p5/ntpd/ntp_request.c.cve-2016-2518 ntp-4.2.6p5/ntpd/ntp_request.c
|
|
|
72fc97 |
--- ntp-4.2.6p5/ntpd/ntp_request.c.cve-2016-2518 2016-04-29 13:41:22.690006470 +0200
|
|
|
72fc97 |
+++ ntp-4.2.6p5/ntpd/ntp_request.c 2016-04-29 13:56:12.039936978 +0200
|
|
|
72fc97 |
@@ -1342,7 +1342,6 @@ do_conf(
|
|
|
72fc97 |
memset(&temp_cp, 0, sizeof(struct conf_peer));
|
|
|
72fc97 |
memcpy(&temp_cp, (char *)cp, INFO_ITEMSIZE(inpkt->mbz_itemsize));
|
|
|
72fc97 |
|
|
|
72fc97 |
-#if 0 /* paranoid checking - these are done in newpeer() */
|
|
|
72fc97 |
fl = 0;
|
|
|
72fc97 |
while (items-- > 0 && !fl) {
|
|
|
72fc97 |
if (((temp_cp.version) > NTP_VERSION)
|
|
|
72fc97 |
@@ -1363,7 +1362,6 @@ do_conf(
|
|
|
72fc97 |
req_ack(srcadr, inter, inpkt, INFO_ERR_FMT);
|
|
|
72fc97 |
return;
|
|
|
72fc97 |
}
|
|
|
72fc97 |
-#endif /* end paranoid checking */
|
|
|
72fc97 |
|
|
|
72fc97 |
/*
|
|
|
72fc97 |
* Looks okay, try it out
|