]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Sec 2670] Missing return; from error clause
authorHarlan Stenn <stenn@ntp.org>
Fri, 12 Dec 2014 11:24:31 +0000 (11:24 +0000)
committerHarlan Stenn <stenn@ntp.org>
Fri, 12 Dec 2014 11:24:31 +0000 (11:24 +0000)
bk: 548ad06feXHK1HlZoY-WZVyynwvwAg

ChangeLog
ntpd/ntp_proto.c

index 327208d66fde6993a5354535bb0ee2673d6232ec..0de380a8e5ba2cc4437ec009a9f291b162af588f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 * [Sec 2667] buffer overflow in crypto_recv().
 * [Sec 2668] buffer overflow in ctl_putdata().
 * [Sec 2669] buffer overflow in configure().
+* [Sec 2670] Missing return; from error clause.
 * [Bug 2686] refclock_gpsdjson needs strtoll(), which is not always present.
 (4.2.7p484-RC) 2014/12/11 Released by Harlan Stenn <stenn@ntp.org>
 (4.2.7p483) 2014/12/08 Released by Harlan Stenn <stenn@ntp.org>
index 2f7543f74b6206eedcfba784b7525d0172b8abd1..e658b640554beb4b5f81c00bcacd835e7cfd3b76 100644 (file)
@@ -1089,6 +1089,7 @@ receive(
                                fast_xmit(rbufp, MODE_ACTIVE, 0,
                                    restrict_mask);
                                sys_restricted++;
+                               return;
                        }
                }