]> git.ipfire.org Git - thirdparty/bind9.git/commit
parser: add VALID_CFGOBJ macro
authorColin Vidal <colin@isc.org>
Tue, 28 Oct 2025 18:04:54 +0000 (19:04 +0100)
committerEvan Hunt <each@isc.org>
Wed, 29 Oct 2025 20:55:47 +0000 (13:55 -0700)
commit10eb99731cc2428624158fe787f5e44c7f421d1e
tree2bd45e7aa145d78640461910914b96085fab6eac
parenta7080db2111c26f8e26675a8a2da7fbd2edeb215
parser: add VALID_CFGOBJ macro

In order to harden `cfg_obj_t` usage now the configuration tree is
manipulated in various ways (cloned, merged, etc.), this introduce the
VALID_CFGOBJ macro to check the validity of a `cfg_obj_t` node.
lib/isccfg/parser.c