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

Harlan Stenn stenn at deacon.udel.edu
Thu Apr 21 05:36:39 UTC 2011


#### ChangeSet ####
2011-04-19 09:38:26+00:00, davehart at shiny.ad.hartbrothers.com
  [Bug 1890] 4.2.7p156 segfault in duplicate freeaddrinfo().

==== ChangeLog ====
2011-04-19 09:38:25+00:00, davehart at shiny.ad.hartbrothers.com +1 -0
  [Bug 1890] 4.2.7p156 segfault in duplicate freeaddrinfo().

--- 1.859/ChangeLog	2011-04-19 02:54:57 -04:00
+++ 1.860/ChangeLog	2011-04-19 05:38:25 -04:00
@@ -1,3 +1,4 @@
+* [Bug 1890] 4.2.7p156 segfault in duplicate freeaddrinfo().
 (4.2.7p156) 2011/04/19 Released by Harlan Stenn <stenn at ntp.org>
 * [Bug 1851] freeaddrinfo() called after getaddrinfo() fails.
 (4.2.7p155) 2011/04/18 Released by Harlan Stenn <stenn at ntp.org>

==== libntp/ntp_intres.c ====
2011-04-19 09:38:26+00:00, davehart at shiny.ad.hartbrothers.com +0 -1
  [Bug 1890] 4.2.7p156 segfault in duplicate freeaddrinfo().

--- 1.96/libntp/ntp_intres.c	2011-04-18 18:32:30 -04:00
+++ 1.97/libntp/ntp_intres.c	2011-04-19 05:38:26 -04:00
@@ -444,7 +444,6 @@ blocking_getaddrinfo(
 	 * make sure our walk and earlier calc match
 	 */
 	DEBUG_INSIST((size_t)(cp - (char *)resp) == resp_octets);
-	freeaddrinfo(ai_res);
 
 	if (queue_blocking_response(c, resp, resp_octets, req)) {
 		msyslog(LOG_ERR, "blocking_getaddrinfo can not queue response");


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