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

272d0d
diff -up ntp-4.2.6p5/ntpd/ntp_proto.c.orig ntp-4.2.6p5/ntpd/ntp_proto.c
272d0d
--- ntp-4.2.6p5/ntpd/ntp_proto.c.orig	2015-11-06 10:48:42.672684827 +0100
272d0d
+++ ntp-4.2.6p5/ntpd/ntp_proto.c	2015-11-06 13:03:14.284092484 +0100
272d0d
@@ -1069,7 +1069,7 @@ receive(
272d0d
 	 * the packet is not bogus in symmetric interleaved mode.
272d0d
 	 */
272d0d
 	} else if (peer->flip == 0) {
272d0d
-		if (!L_ISEQU(&p_org, &peer->aorg)) {
272d0d
+		if (L_ISZERO(&p_org) || !L_ISEQU(&p_org, &peer->aorg)) {
272d0d
 			peer->bogusorg++;
272d0d
 			peer->flash |= TEST2;	/* bogus */
272d0d
 			if (!L_ISZERO(&peer->dst) && L_ISEQU(&p_org,