[ntp:bk-ntp-dev-send] BitKeeper diffs

stenn at whimsy.udel.edu stenn at whimsy.udel.edu
Wed Jul 17 09:23:54 UTC 2013


#### ChangeSet ####
2013-07-17 05:23:29-04:00, stenn at deacon.udel.edu
  [Bug 2428] do_unconf() should reset 'items' before the 2nd loop

==== ChangeLog ====
2013-07-17 05:23:22-04:00, stenn at deacon.udel.edu +1 -0
  [Bug 2428] do_unconf() should reset 'items' before the 2nd loop

--- 1.1308/ChangeLog	2013-07-17 05:18:36 -04:00
+++ 1.1309/ChangeLog	2013-07-17 05:23:22 -04:00
@@ -1,6 +1,7 @@
 * [Bug 1466] Oncore should set FLAG_PPS.
 * [Bug 2375] AIX 7 doesn't like a libevent validation check.
 * [Bug 2423] Log command-line args at LOG_INFO.
+* [Bug 2428] do_unconf() should reset 'items' before the 2nd loop.
 (4.2.7p371) 2013/07/07 Released by Harlan Stenn <stenn at ntp.org>
 * CID 1042586: Check the return value of clock_gettime() in worker_sleep().
 * Upgrade to libopts-39.0.14 from 5.17.5pre10.

==== ntpd/ntp_request.c ====
2013-07-17 05:23:22-04:00, stenn at deacon.udel.edu +1 -0
  [Bug 2428] do_unconf() should reset 'items' before the 2nd loop

--- 1.110/ntpd/ntp_request.c	2012-06-18 01:01:48 -04:00
+++ 1.111/ntpd/ntp_request.c	2013-07-17 05:23:22 -04:00
@@ -1449,6 +1449,7 @@ do_unconf(
 	 * Now do it in earnest.
 	 */
 
+	items = INFO_NITEMS(inpkt->err_nitems);
 	datap = inpkt->u.data;
 
 	while (items-- > 0) {


More information about the bk-ntp-dev-send mailing list