upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/randomx_pow.cpp
diff options
context:
space:
mode:
authorbitflash-maintainer <noreply@bitflash.invalid>2026-09-02 06:51:07 +0000
committerbitflash-maintainer <noreply@bitflash.invalid>2026-09-02 06:51:07 +0000
commita44c9402c20493f0964a1296dd38d313216fbd4d (patch)
tree0337a9ba2b8dcf2f4004ac78d76e7c31ef84778a /src/randomx_pow.cpp
parente4f898c4a6b9900553c64b9804889b5fdae3e55f (diff)
util: initialise CCriticalSection's diagnostic fields at construction
pszFile/nLine were first written by CRITICAL_BLOCK on entry, so an instance embedded in a dynamically allocated object (CNode::cs_vSend, cs_vRecv, cs_inventory) held indeterminate values until its first lock -- anything reading them for diagnostics dereferenced a wild pointer.
Diffstat (limited to 'src/randomx_pow.cpp')
0 files changed, 0 insertions, 0 deletions