From: W.C.A. Wijngaards Date: Fri, 11 Oct 2024 07:03:11 +0000 (+0200) Subject: - Fix harden-unverified-glue for AAAA cache_fill_missing lookups. X-Git-Tag: release-1.22.0~5 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=bd1813b126b047ccec490fadf1485c385eaed9d4;p=thirdparty%2Funbound.git - Fix harden-unverified-glue for AAAA cache_fill_missing lookups. --- diff --git a/doc/Changelog b/doc/Changelog index 1346031f2..eb1525670 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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 diff --git a/services/cache/dns.c b/services/cache/dns.c index 8a08d3a30..7ab63bacf 100644 --- a/services/cache/dns.c +++ b/services/cache/dns.c @@ -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)) {