Page MenuHomePhabricator

Merge #13437: wallet: Erase wtxOrderd wtx pointer on removeprunedfunds
ClosedPublic

Authored by nakihito on Mon, Nov 25, 19:56.

Details

Reviewers
deadalnix
Fabien
jasonbcox
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABC558347b3d9f6: Merge #13437: wallet: Erase wtxOrderd wtx pointer on removeprunedfunds
Summary

faa18ca046e9043b2cf68cb1bd17cc8c60fe26d9 wallet: Erase wtxOrderd wtx pointer on removeprunedfunds (MarcoFalke)

Pull request description:

This prevents segfaults, when reading from the freed memory.

Tree-SHA512: 04f8190dea7901cf1cc298d5db98c83b02858f27114c5ef4da738accd176d6647d6b81f3dc39f3d5912b1a981cf0599370fd391c4154ffbde97afc1fac389123

Backport of Core PR13437
https://github.com/bitcoin/bitcoin/pull/13437/

Test Plan
make check
test_runner.py

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.