]> git.ipfire.org Git - thirdparty/bind9.git/commit
Move the mapping of SIG and RRSIG to ANY
authorMark Andrews <marka@isc.org>
Thu, 27 Oct 2022 02:22:11 +0000 (13:22 +1100)
committerMichał Kępień <michal@isc.org>
Thu, 12 Jan 2023 11:33:28 +0000 (12:33 +0100)
commit3cd0c32b0a4dc93a1e3955e17ea8efa0804964ae
treeb044e28eae0df331868ab40d87e9a265d68323cd
parent82185f4f80d2fa39a4569f6740cb360ffff8f5c4
Move the mapping of SIG and RRSIG to ANY

dns_db_findext() asserts if RRSIG is passed to it and
query_lookup_stale() failed to map RRSIG to ANY to prevent this.  To
avoid cases like this in the future, move the mapping of SIG and RRSIG
to ANY for qctx->type to qctx_init().

(cherry picked from commit 56eae064183488bcf7ff08c3edf59f2e1742c1b6)
lib/ns/query.c