From: Harlan Stenn Date: Sun, 4 Feb 2018 11:54:19 +0000 (-0800) Subject: [Sec 3453] Interleaved symmetric mode cannot recover from bad state X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d92b5004303b2392475efc39157c9726b574e692;p=thirdparty%2Fntp.git [Sec 3453] Interleaved symmetric mode cannot recover from bad state bk: 5a76f46bK1M87GD1tJounOczC-5Zow --- diff --git a/ChangeLog b/ChangeLog index 1ca07f4e0..e0086e014 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ * [Sec 3454] Unauthenticated packet can reset authenticated interleave associations. HStenn. +* [Sec 3453] Interleaved symmetric mode cannot recover from bad state. HStenn. * [Sec 3415] Permit blocking authenticated symmetric/passive associations. Implement ippeerlimit. HStenn, JPerlinger. * [Sec 3414] ntpq: decodearr() can write beyond its 'buf' limits diff --git a/ntpd/ntp_proto.c b/ntpd/ntp_proto.c index c599aa17a..021d7f0aa 100644 --- a/ntpd/ntp_proto.c +++ b/ntpd/ntp_proto.c @@ -2007,7 +2007,9 @@ receive( peer->bogusorg++; peer->flags |= FLAG_XBOGUS; peer->flash |= TEST2; /* bogus */ +#ifdef BUG3453 return; /* Bogus packet, we are done */ +#endif } /**/