diff options
author | MacroFake <falke.marco@gmail.com> | 2022-07-12 17:49:21 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-08-16 17:25:49 +0200 |
commit | fa97a528d6382a0163d5aa7d37ecbf93579b8186 (patch) | |
tree | 0ae76da3efd24259bf7aacc183f7e09765f5fc1d /src/checkqueue.h | |
parent | fa530bcb9c13b58ab1b2068b48aa3fff910e2f87 (diff) |
Fix UB/data-race in RPCNotifyBlockChange
ActiveTip() is *not* thread-safe, as the required ::cs_main lock will be
released as ActiveChainstate() returns.
ActiveTip() is an alias for ActiveChainstate().m_chain.Tip(), so m_chain
may be involved in a data-race (UB).
Diffstat (limited to 'src/checkqueue.h')
0 files changed, 0 insertions, 0 deletions