]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix "CNAME and other data" detection
authorMark Andrews <marka@isc.org>
Thu, 30 Jan 2025 22:09:33 +0000 (09:09 +1100)
committerMark Andrews <marka@isc.org>
Fri, 14 Feb 2025 02:44:47 +0000 (13:44 +1100)
commit7111f5e4c2fdf56e853fd3835c7b06ab79219aae
tree45df71ec6384ab14dee519d1cf4e6a4d2a36a8de
parent4adf01503a92246f46e86db7786fa1357c17ff0d
Fix "CNAME and other data" detection

prio_type was being used in the wrong place to optimize cname_and_other.
We have to first exclude and accepted types and we also have to
determine that the record exists before we can check if we are at
a point where a later CNAME cannot appear.

(cherry picked from commit 5e49a9e4ae8d0a78fb5ac0c7b683de9a29b6b848)
lib/dns/rbtdb.c