]> git.ipfire.org Git - thirdparty/pdns.git/commit
This should eliminate a dozen or so Coverity warnigs 15168/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 17 Feb 2025 08:15:34 +0000 (09:15 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 17 Feb 2025 08:15:34 +0000 (09:15 +0100)
commit776c2fe86aa1371f94f19f696813531f33a7d24d
tree32088ed4cab90650b7bc0e5e37083fd652312b16
parent89a09828c9b297b4fd4294d9d99260a15e422b92
This should eliminate a dozen or so Coverity warnigs

For example:

1591605 Data race condition

5. missing_lock: Accessing g_lowercaseOutgoing without holding lock LockGuarded<std::shared_ptr<std::unordered_map<DNSName, SyncRes::AuthDomain, std::hash<DNSName>, std::equal_to<DNSName>, std::allocator<std::pair<DNSName const, SyncRes::AuthDomain> > > > >.d_mutex. Elsewhere, g_lowercaseOutgoing is written to with LockGuarded.d_mutex held 1 out of 1 times.
pdns/recursordist/rec-main.cc