]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix not caching RRSIG covering cache NODATA record
authorOndřej Surý <ondrej@isc.org>
Sat, 8 Nov 2025 11:10:51 +0000 (12:10 +0100)
committerOndřej Surý <ondrej@isc.org>
Fri, 28 Nov 2025 09:10:14 +0000 (10:10 +0100)
commit125d7aa232c3b619a418a5dada2553dc3af710d4
treecc526ddf166d0e9e317d5e396d004a24ad2fbeac
parent3d2244a74593295cbf7ecd1920446bd67d685446
Fix not caching RRSIG covering cache NODATA record

During refactoring, a condition that prevented caching RRSIGs for
records that we already have cached NODATA records was changed in an
invalid way.  This was caught later when a cached NODATA(type) +
RRSIG(type) was found in the cache and caused an assertion failure.

Fix and simplify condition that prevents adding such RRSIGs.
lib/dns/qpcache.c