Page MenuHomePhabricator

Fix a use after free error
ClosedPublic

Authored by Fabien on Mon, May 12, 19:51.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCd0c31e0913ed: Fix a use after free error
Summary

D18073 mistakenly introduced a use after free bug by avoiding a copy that was made on purpose and holding a reference to an iterator pointed item that is removed in the next line, causing the reference to be dangling.

Test Plan
./contrib/teamcity/build-configurations.py build-asan

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable