]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
The last argument to cache_rrset is wrong
authorMark Andrews <marka@isc.org>
Wed, 3 Sep 2025 06:52:20 +0000 (16:52 +1000)
committerMark Andrews <marka@isc.org>
Wed, 10 Sep 2025 00:51:21 +0000 (10:51 +1000)
The last argument to cache_rrset should be a bool (false)
not a pointer (NULL).

lib/dns/resolver.c

index 26204bde1007559e908e21d2d4979573dcb23847..bb57ea144e91e2ebfb6ddbda8378e055fb80116b 100644 (file)
@@ -5934,7 +5934,7 @@ rctx_cache_insecure(respctx_t *rctx, dns_message_t *message, dns_name_t *name,
         * Cache the rdataset.
         */
        result = cache_rrset(fctx, rctx->now, name, rdataset, NULL, &node,
-                            added, NULL, NULL);
+                            added, NULL, false);
 
        return result;
 }