]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix assertion failure in dns_db_findrdataset() for SIG records
authorMark Andrews <marka@isc.org>
Tue, 7 Apr 2026 14:39:57 +0000 (16:39 +0200)
committerOndřej Surý <ondrej@sury.org>
Mon, 20 Apr 2026 09:21:14 +0000 (11:21 +0200)
commit89c363b555c764f476c24c6cf2986aa115e8b05f
tree6d299b2f0ca9ab3c253817098fb4e726a3a5df1e
parentbb63fd9dac2aa3299d373bca017f54071a63aa65
Fix assertion failure in dns_db_findrdataset() for SIG records

dns__db_findrdataset() had a REQUIRE() that only accepted
dns_rdatatype_rrsig when the covers parameter was set.  A dynamic
update containing a SIG record (type 24) would trigger this
assertion, crashing named.  Use dns_rdatatype_issig() to accept
both SIG and RRSIG.

(cherry picked from commit 03edeccaa16991e05c101ae82a03568ae1b2dbd0)
lib/dns/db.c