bind9/lib
Aram Sargsyan 6687de854f Use a read lock when iterating over a hashmap
The 'dns_tsigkeyring_t' structure has a read/write lock to protect
its 'keys' member, which is a 'isc_hashmap_t' pointer and needs to
be protected.

The dns_tsigkeyring_dump() function, however, doesn't use the lock,
which can introduce a race with another thread, if the other thread
tries to modify the hashmap.

Add a read lock around the code, which iterates over the hashmap.
2023-11-13 12:06:26 +00:00
..
dns Use a read lock when iterating over a hashmap 2023-11-13 12:06:26 +00:00
isc Add ISC_LIST_FOREACH_REV(_SAFE) macros 2023-10-25 12:36:13 +02:00
isccc Limit isccc_cc_fromwire recursion depth 2023-09-07 19:46:19 +02:00
isccfg Remove the lock-file configuration and -X argument to named 2023-10-26 22:42:37 +02:00
ns Don't ignore auth zones when in serve-stale mode 2023-10-30 20:07:01 +01: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