HomePhabricator

Avoid NULL pointer dereference when _walletModel is NULL (which is valid)

Description

Avoid NULL pointer dereference when _walletModel is NULL (which is valid)

Summary:
Partial backport of Core PR10898 (commit 76fed83)
https://github.com/bitcoin/bitcoin/pull/10898/commits/76fed838f381a6efba175f3650ec7e9dc73016d3

Test Plan:
ninja check
bitcoin-qt

Reviewers: deadalnix, Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

Subscribers: teamcity, schancel

Differential Revision: https://reviews.bitcoinabc.org/D2625

Details

Provenance
practicalswift <practicalswift@users.noreply.github.com>Authored on Mar 1 2019, 00:41
jasonbcoxCommitted on Mar 1 2019, 00:42
jasonbcoxPushed on Mar 1 2019, 00:42
Reviewer
Restricted Project
Differential Revision
D2625: Avoid NULL pointer dereference when _walletModel is NULL (which is valid)
Parents
rABC9bae8c8bf6f1: Use two boolean literals instead of re-using variable
Branches
Unknown
Tags
Unknown

Event Timeline