Blame SOURCES/ntp-4.2.6p5-cve-2015-7704.patch

2b78f7
diff -up ntp-4.2.6p5/ntpd/ntp_proto.c.kodtest ntp-4.2.6p5/ntpd/ntp_proto.c
2b78f7
--- ntp-4.2.6p5/ntpd/ntp_proto.c.kodtest	2015-09-24 18:20:19.121981664 +0200
2b78f7
+++ ntp-4.2.6p5/ntpd/ntp_proto.c	2015-09-24 18:20:54.596594166 +0200
2b78f7
@@ -1165,7 +1165,7 @@ receive(
2b78f7
 	peer->ppoll = max(peer->minpoll, pkt->ppoll);
2b78f7
 	if (hismode == MODE_SERVER && hisleap == LEAP_NOTINSYNC &&
2b78f7
 	    hisstratum == STRATUM_UNSPEC && memcmp(&pkt->refid,
2b78f7
-	    "RATE", 4) == 0) {
2b78f7
+	    "RATE", 4) == 0 && !(peer->flash & PKT_TEST_MASK)) {
2b78f7
 		peer->selbroken++;
2b78f7
 		report_event(PEVNT_RATE, peer, NULL);
2b78f7
 		if (pkt->ppoll > peer->minpoll)