]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix: dev: Make all ISC_LIST_FOREACH calls safe
authorEvan Hunt <each@isc.org>
Tue, 27 May 2025 23:08:35 +0000 (23:08 +0000)
committerEvan Hunt <each@isc.org>
Tue, 27 May 2025 23:08:35 +0000 (23:08 +0000)
commitb045726f8f408412a401bfcbedef61a88215c757
treeeef05e048702ebcb5013ccff93cfa0c53faf475b
parent94c4181442bc5a844f38978e535b79d0c0387f2d
parent8487e43ad9bdb3ff1fe25ee107d81f3fed9bf603
fix: dev: 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.

Merge branch 'each-isc-list-foreach' into 'main'

See merge request isc-projects/bind9!10479