]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1522. [bug] dns_db_findnode() relax the requirements on 'name'.
authorMark Andrews <marka@isc.org>
Fri, 3 Oct 2003 03:12:35 +0000 (03:12 +0000)
committerMark Andrews <marka@isc.org>
Fri, 3 Oct 2003 03:12:35 +0000 (03:12 +0000)
                        [RT# 9286]

CHANGES
lib/dns/db.c
lib/dns/include/dns/db.h

diff --git a/CHANGES b/CHANGES
index 57ed54e9f3afe5cdc1edaaad6dea9210b2420074..f306cc11eda6eed07f5500c9bd72e5b9959b88e3 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+1522.  [bug]           dns_db_findnode() relax the requirements on 'name'.
+                       [RT# 9286]
+
 1521.  [bug]           dns_view_createresolver() failed to check the
                        result from isc_mem_create(). [RT# 9294]
 
index 97d188d7050c1d0eed05c84577e053b170890fcc..c1203c6d848a5eda08d8cd2448415faf488ff249 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: db.c,v 1.71 2003/09/30 05:56:10 marka Exp $ */
+/* $Id: db.c,v 1.72 2003/10/03 03:12:35 marka Exp $ */
 
 /***
  *** Imports
@@ -428,7 +428,6 @@ dns_db_findnode(dns_db_t *db, dns_name_t *name,
         */
 
        REQUIRE(DNS_DB_VALID(db));
-       REQUIRE(dns_name_issubdomain(name, &db->origin));
        REQUIRE(nodep != NULL && *nodep == NULL);
 
        return ((db->methods->findnode)(db, name, create, nodep));
index 9a3b9ddf3e545f56269132bd77b206b3b80b9553..975e2a0031f66330c23d6bacb2acc219bd8b91f7 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: db.h,v 1.73 2003/09/30 05:56:16 marka Exp $ */
+/* $Id: db.h,v 1.74 2003/10/03 03:12:35 marka Exp $ */
 
 #ifndef DNS_DB_H
 #define DNS_DB_H 1
@@ -599,8 +599,7 @@ dns_db_findnode(dns_db_t *db, dns_name_t *name, isc_boolean_t create,
  *
  *     'db' is a valid database.
  *
- *     'name' is a valid, non-empty, absolute name that is a subdomain of
- *     the database's origin.  (It need not be a proper subdomain.)
+ *     'name' is a valid, non-empty, absolute name.
  *
  *     nodep != NULL && *nodep == NULL
  *