]> git.ipfire.org Git - thirdparty/bind9.git/commit
Make isc_radix_insert, dns_iptable_addprefix/merge return void
authorOndřej Surý <ondrej@sury.org>
Sun, 22 Mar 2026 10:06:37 +0000 (11:06 +0100)
committerOndřej Surý <ondrej@sury.org>
Wed, 1 Jul 2026 04:09:42 +0000 (06:09 +0200)
commit188aa43e48379572ffa758e45333c67214917d39
tree2ea56afaca42779d9ffc72958b8f7e01f3b01499
parentfbab7ece7719530983cb4c7d79dee808db832d5b
Make isc_radix_insert, dns_iptable_addprefix/merge return void

isc_radix_insert can no longer fail: node allocation uses
isc_mem_get which aborts on OOM, and prefix copying was eliminated
by inlining. Propagate the void return through dns_iptable_addprefix,
dns_iptable_merge, dns_acl_any, dns_acl_none, and all their callers.
18 files changed:
bin/named/controlconf.c
bin/named/server.c
bin/named/statschannel.c
bin/named/zoneconf.c
bin/plugins/filter-a.c
bin/plugins/filter-aaaa.c
bin/plugins/synthrecord.c
bin/tests/system/dyndb/driver/zone.c
lib/dns/acl.c
lib/dns/include/dns/acl.h
lib/dns/include/dns/iptable.h
lib/dns/iptable.c
lib/isc/include/isc/radix.h
lib/isc/radix.c
lib/isccfg/aclconf.c
lib/ns/interfacemgr.c
tests/dns/acl_test.c
tests/isc/radix_test.c