]> git.ipfire.org Git - thirdparty/bind9.git/commit
make all ISC_LIST_FOREACH calls safe
authorEvan Hunt <each@isc.org>
Fri, 23 May 2025 20:02:22 +0000 (13:02 -0700)
committerEvan Hunt <each@isc.org>
Fri, 23 May 2025 20:09:10 +0000 (13:09 -0700)
commit8487e43ad9bdb3ff1fe25ee107d81f3fed9bf603
treeeef05e048702ebcb5013ccff93cfa0c53faf475b
parent94c4181442bc5a844f38978e535b79d0c0387f2d
make all ISC_LIST_FOREACH calls safe

previously, ISC_LIST_FOREACH and ISC_LIST_FOREACH_SAFE were
two separate macros, with the _SAFE version allowing entries
to be unlinked during the loop. ISC_LIST_FOREACH is now also
safe, and the separate _SAFE macro has been removed.

similarly, the ISC_LIST_FOREACH_REV macro is now safe, and
ISC_LIST_FOREACH_REV_SAFE has also been removed.
58 files changed:
bin/delv/delv.c
bin/dig/dighost.c
bin/dnssec/dnssec-cds.c
bin/dnssec/dnssec-ksr.c
bin/dnssec/dnssec-signzone.c
bin/dnssec/dnssectool.c
bin/named/builtin.c
bin/named/controlconf.c
bin/named/server.c
bin/named/statschannel.c
bin/named/zoneconf.c
bin/nsupdate/nsupdate.c
bin/tools/mdig.c
lib/dns/acl.c
lib/dns/adb.c
lib/dns/client.c
lib/dns/diff.c
lib/dns/dispatch.c
lib/dns/dns64.c
lib/dns/dnssec.c
lib/dns/forward.c
lib/dns/kasp.c
lib/dns/keymgr.c
lib/dns/keytable.c
lib/dns/master.c
lib/dns/message.c
lib/dns/order.c
lib/dns/peer.c
lib/dns/qpzone.c
lib/dns/request.c
lib/dns/resconf.c
lib/dns/resolver.c
lib/dns/rrl.c
lib/dns/skr.c
lib/dns/ssu.c
lib/dns/tkey.c
lib/dns/update.c
lib/dns/view.c
lib/dns/zone.c
lib/isc/httpd.c
lib/isc/include/isc/list.h
lib/isc/job.c
lib/isc/log.c
lib/isc/mem.c
lib/isc/netmgr/http.c
lib/isc/netmgr/netmgr.c
lib/isc/ratelimiter.c
lib/isc/tls.c
lib/isccfg/aclconf.c
lib/isccfg/check.c
lib/isccfg/parser.c
lib/ns/hooks.c
lib/ns/interfacemgr.c
lib/ns/listenlist.c
lib/ns/query.c
lib/ns/server.c
lib/ns/update.c
tests/dns/skr_test.c