]> git.ipfire.org Git - thirdparty/bind9.git/commit
checkconf: check key existence in views
authorColin Vidal <colin@isc.org>
Mon, 23 Feb 2026 18:36:19 +0000 (19:36 +0100)
committerEvan Hunt <each@isc.org>
Sun, 1 Mar 2026 01:08:42 +0000 (17:08 -0800)
commitb90399ebdcd97dba7938c872961b6f60f6db623f
tree3b10dcea79f6dae13c36a57741177d8fe3d2d4db
parent19ebf8ebf818e9c937f21ded1eb44d81b5b9c07a
checkconf: check key existence in views

Commit `2956e4fc45b3c2142a3351682d4200647448f193` hardened the `key`
name check when used in `primaries` to reject the configuration if
the key was not defined, rather than simply checking whether the
key name was correctly formed.

However, the key name check didn't include the view configuration,
causing keys not to be recognized if they were defined inside the
view and not at the global level.  This regression is now fixed.
lib/isccfg/check.c