]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix harden-unverified-glue for AAAA cache_fill_missing lookups.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 11 Oct 2024 07:03:11 +0000 (09:03 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 11 Oct 2024 07:03:11 +0000 (09:03 +0200)
doc/Changelog
services/cache/dns.c

index 1346031f24c10958759ee1c7188feaaf44a6e30b..eb1525670a8bc9bca3c518d586b3672392477c0f 100644 (file)
@@ -1,6 +1,7 @@
 11 October 2024: Wouter
        - Fix to disable detection of quic configured ports when quic is
          not compiled in.
+       - Fix harden-unverified-glue for AAAA cache_fill_missing lookups.
 
 10 October 2024: Wouter
        - Fix cookie_file test sporadic fails for time change during
index 8a08d3a30397b1b272b690c0268a97b580abe36e..7ab63bacf49240e3be15f98ed4a6423b56c3b667 100644 (file)
@@ -398,7 +398,7 @@ cache_fill_missing(struct module_env* env, uint16_t qclass,
                        }
                }
                akey = rrset_cache_lookup(env->rrset_cache, ns->name, 
-                       ns->namelen, LDNS_RR_TYPE_AAAA, qclass, 0, now, 0);
+                       ns->namelen, LDNS_RR_TYPE_AAAA, qclass, flags, now, 0);
                if(akey) {
                        if(!delegpt_add_rrset_AAAA(dp, region, akey, ns->lame,
                                NULL)) {