From: ian Date: Fri, 20 Oct 2006 10:41:22 +0000 (+0000) Subject: Do not adns_cancel in the middle of adns_forallqueries X-Git-Tag: debian/1.1.1~32 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-tcl.git;a=commitdiff_plain;h=c79ad66dfd949a1a1373294f0fb32ead6d7a44e5 Do not adns_cancel in the middle of adns_forallqueries --- diff --git a/adns/adns.c b/adns/adns.c index 14ea50c..2a86f4a 100644 --- a/adns/adns.c +++ b/adns/adns.c @@ -305,6 +305,8 @@ static void destroy_resolver(Tcl_Interp *ip, Resolver *res) { adns_forallqueries_begin(res->ads); aqu= adns_forallqueries_next(res->ads, &query_v); if (!aqu) break; + assert(query_v->aqu == aqu); + query_v->aqu= 0; /* avoid disrupting the adns query list */ asynch_query_dispose(ip, query_v); } adns_finish(res->ads); diff --git a/debian/changelog b/debian/changelog index 569227a..76235c6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +chiark-tcl (1.0.2) unstable; urgency=low + + Bugfixes: + * Do not adns_cancel in the middle of adns_forallqueries. + + -- + chiark-tcl (1.0.1) unstable; urgency=low New features: