From: Mark Andrews Date: Wed, 15 Feb 2012 20:59:40 +0000 (+0000) Subject: 3285. [bug] val-frdataset was incorrectly disassociated in X-Git-Tag: v9.10.0a1~1367 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=6d386978b3a1f20a613ae10565c855aee084e2a0;p=thirdparty%2Fbind9.git 3285. [bug] val-frdataset was incorrectly disassociated in proveunsecure after calling startfinddlvsep. [RT #27928] --- diff --git a/CHANGES b/CHANGES index 2f237e53372..79bf6f9864d 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ +3285. [bug] val-frdataset was incorrectly disassociated in + proveunsecure after calling startfinddlvsep. + [RT #27928] + 3284. [bug] Address race conditions with the handling of rbtnode.deadlink. [RT #27738] diff --git a/lib/dns/validator.c b/lib/dns/validator.c index da07711999b..d1e21c5033e 100644 --- a/lib/dns/validator.c +++ b/lib/dns/validator.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: validator.c,v 1.208 2011/11/04 05:36:28 each Exp $ */ +/* $Id: validator.c,v 1.209 2012/02/15 20:59:40 marka Exp $ */ #include @@ -3743,9 +3743,8 @@ proveunsecure(dns_validator_t *val, isc_boolean_t have_ds, isc_boolean_t resume) result = ISC_R_SUCCESS; goto out; } - result = startfinddlvsep(val, - dns_fixedname_name(&val->fname)); - goto out; + return(startfinddlvsep(val, + dns_fixedname_name(&val->fname))); } val->labels++; } @@ -3881,8 +3880,7 @@ proveunsecure(dns_validator_t *val, isc_boolean_t have_ds, isc_boolean_t resume) result = ISC_R_SUCCESS; goto out; } - result = startfinddlvsep(val, tname); - goto out; + return(startfinddlvsep(val, tname)); } continue; }