[bitcoin/bitcoin] Make sure all callers of LookupBlockIndex(…) check for nullptr before dereferencing (CBlockIndex*) (#13969)

Make sure all callers of `LookupBlockIndex(…)` check for `nullptr` before dereferencing (`CBlockIndex*`).
You can view, comment on, or merge this pull request online at:

https://github.com/bitcoin/bitcoin/pull/13969

— Commit Summary —

* Make sure all callers of LookupBlockIndex(…) check for nullptr before dereferencing (CBlockIndex*)

— File Changes —

M src/net_processing.cpp (1)
M src/rpc/blockchain.cpp (9)
M src/validation.cpp (1)
M src/wallet/rpcwallet.cpp (6)

— Patch Links —

https://github.com/bitcoin/bitcoin/pull/13969.patch
https://github.com/bitcoin/bitcoin/pull/13969.diff

Добавить комментарий