]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
3285. [bug] val-frdataset was incorrectly disassociated in
authorMark Andrews <marka@isc.org>
Wed, 15 Feb 2012 21:01:50 +0000 (21:01 +0000)
committerMark Andrews <marka@isc.org>
Wed, 15 Feb 2012 21:01:50 +0000 (21:01 +0000)
                        proveunsecure after calling startfinddlvsep.
                        [RT #27928]

CHANGES
lib/dns/validator.c

diff --git a/CHANGES b/CHANGES
index 4f67832269f2fe584f04ce9b5d511d1a87ba073b..f4b5e77acdbd6509d8d21fe950ce9610c59bba74 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,9 @@
        --- 9.9.0rc3 released ---
 
+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]
 
index da07711999b3a3010d8ca09e573e71571da099ab..e80d848d4a74540b9a8e27c4da5cea164a9f9b3a 100644 (file)
@@ -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.208.72.1 2012/02/15 21:01:50 marka Exp $ */
 
 #include <config.h>
 
@@ -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;
                        }