Page MenuHomePhabricator

wallet: Fix non-determinism in ParseHDKeypath(...). Avoid using an uninitialized variable in path calculation.
ClosedPublic

Authored by deadalnix on Nov 21 2019, 14:07.

Details

Summary
  • wallet: Add error handling. Check return value of ParseUInt32(...) in ParseHDKeypath(...).
  • wallet: Add tests for ParseHDKeypath(...)

This is a backport of Core PR13712

Test Plan
make check

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Nov 21 2019, 19:43