2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

4472. [bug] Named could fail to find the correct NSEC3 records when

a zone was update between looking for the answer and
                        looking for the NSEC3 records proving non-existance
                        of the answer. [RT #43247]
This commit is contained in:
Mark Andrews
2016-10-05 10:35:18 +11:00
parent ddb166caff
commit 7fbe85c6d7
2 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
4472. [bug] Named could fail to find the correct NSEC3 records when
a zone was update between looking for the answer and
looking for the NSEC3 records proving non-existance
of the answer. [RT #43247]
--- 9.11.0 released ---
--- 9.11.0rc3 released ---

View File

@@ -3621,7 +3621,7 @@ query_addwildcardproof(ns_client_t *client, dns_db_t *db,
/*
* Add closest (provable) encloser NSEC3.
*/
query_findclosestnsec3(cname, db, NULL, client, rdataset,
query_findclosestnsec3(cname, db, version, client, rdataset,
sigrdataset, fname, ISC_TRUE, cname);
if (!dns_rdataset_isassociated(rdataset))
goto cleanup;
@@ -3660,7 +3660,7 @@ query_addwildcardproof(ns_client_t *client, dns_db_t *db,
else
dns_name_split(name, labels, NULL, wname);
query_findclosestnsec3(wname, db, NULL, client, rdataset,
query_findclosestnsec3(wname, db, version, client, rdataset,
sigrdataset, fname, ISC_FALSE, NULL);
if (!dns_rdataset_isassociated(rdataset))
goto cleanup;
@@ -3700,7 +3700,7 @@ query_addwildcardproof(ns_client_t *client, dns_db_t *db,
if (result != ISC_R_SUCCESS)
goto cleanup;
query_findclosestnsec3(wname, db, NULL, client, rdataset,
query_findclosestnsec3(wname, db, version, client, rdataset,
sigrdataset, fname, nodata, NULL);
if (!dns_rdataset_isassociated(rdataset))
goto cleanup;