Merge branch '884-patches-to-review-3-v9_14' into 'v9_14'

fix the use of dns_wildcardname as an optimisation in DLZ

See merge request isc-projects/bind9!1629
This commit is contained in:
Evan Hunt
2019-03-07 23:39:30 -05:00

View File

@@ -613,9 +613,9 @@ getnodedata(dns_db_t *db, const dns_name_t *name, bool create,
const dns_name_t *wild;
dns_fixedname_init(&fixed);
if (i == dlabels)
if (i == dlabels - 1) {
wild = dns_wildcardname;
else {
} else {
dns_name_t *fname;
fname = dns_fixedname_name(&fixed);
dns_name_getlabelsequence(name, i + 1,