aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorpracticalswift <[email protected]>2017-10-30 14:28:19 +0100
committerpracticalswift <[email protected]>2017-10-30 20:00:17 +0100
commit2530bf27b72e53cc6ffec27de35f3b487984833d (patch)
tree1c58acb71c17cfafaed5f31f841ce46c915678bb /src/httpserver.cpp
parentMerge #11541: Build: Fix Automake warnings when running autogen.sh (diff)
downloaddiscoin-2530bf27b72e53cc6ffec27de35f3b487984833d.tar.xz
discoin-2530bf27b72e53cc6ffec27de35f3b487984833d.zip
net: Add missing lock in ProcessHeadersMessage(...)
Reading the variable mapBlockIndex requires holding the mutex cs_main. The new "Disconnect outbound peers relaying invalid headers" code added in commit 37886d5e2f9992678dea4b1bd893f4f10d61d3ad and merged as part of #11568 two days ago did not lock cs_main prior to accessing mapBlockIndex.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions