Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-release-src > by-pkgid > 0b1d47b1c6f4110a2d764d40ac25359d > files > 51

ntp-4.2.6p5-33.mga6.src.rpm

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