From: Colin Vidal Date: Wed, 1 Oct 2025 09:10:40 +0000 (+0200) Subject: fix: dev: check plugin config before registering X-Git-Tag: v9.21.14~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0e575d150fdbd06b426a3eee6aa57f3cda1ae641;p=thirdparty%2Fbind9.git fix: dev: check plugin config before registering In `named_config_parsefile()`, when checking the validity of `named.conf`, the checking of plugin correctness was deliberately postponed until the plugin is loaded and registered. However, the checking was never actually done: the `plugin_register()` implementation was called, but `plugin_check()` was not. `ns_plugin_register()` (used by `named`) now calls the check function before the register function, and aborts if either one fails. `ns_plugin_check()` (used by `named-checkconf`) calls only the check function. Merge branch 'each-check-plugin-named' into 'main' See merge request isc-projects/bind9!11031 --- 0e575d150fdbd06b426a3eee6aa57f3cda1ae641