aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorpracticalswift <[email protected]>2017-02-28 15:49:49 +0100
committerpracticalswift <[email protected]>2017-02-28 15:49:49 +0100
commit95543d8747cbf7c1945ac36c36031ae40152cf2f (patch)
tree94044a7d60dcf54024b0a4547d27076838570a8a /src/httpserver.cpp
parentMerge #9525: test: Include tx data in EXTRA_DIST (diff)
downloaddiscoin-95543d8747cbf7c1945ac36c36031ae40152cf2f.tar.xz
discoin-95543d8747cbf7c1945ac36c36031ae40152cf2f.zip
[net] Avoid possibility of NULL pointer dereference in MarkBlockAsInFlight(...)
In the case that the branch ... if (itInFlight != mapBlocksInFlight.end() && itInFlight->second.first == nodeid) { ... is taken, there was prior to this commit an implicit assumption that MarkBlockAsInFlight(...) was being called with its fifth and optional argument (pit) being present (and non-NULL).
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions