bind9/lib
Ondřej Surý 89478d95c3
In dns_qpiter_{prev,next}, defer dereference_iter_node call
dns_qpiter_{prev,next} requires the current iterator node to still be
valid which might not always the case after dereference_iter_node was
called.  Currently, this is ensured via closeversion() mechanism, but it
is not guaranteed to be true in the future.

Move the call to dereference_iter_node to after the dns_qpiter_prev()
and dns_qpiter_next() to prevent a possible use-after-free of the
current iterator node.

(cherry picked from commit 9914bd383e)
2025-12-08 10:25:05 +01:00
..
dns In dns_qpiter_{prev,next}, defer dereference_iter_node call 2025-12-08 10:25:05 +01:00
isc standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
isccc Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
isccfg standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
ns standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
Makefile.am Move irs_resconf into libdns and remove libirs 2023-02-24 09:38:59 +00:00