Commit 7fbe85c6 authored by Mark Andrews's avatar Mark Andrews
Browse files

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]
parent ddb166ca
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 ---
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment