Page MenuHomePhabricator

[bitcoinsuite-core] Fix a potential out of bounds access during address decoding
ClosedPublic

Authored by Fabien on May 20 2025, 22:09.

Details

Summary

The code expects the checksum to be present and will cause the slice to access out of bounds otherwise. This diff changes to logic to verify the checksum first so this can't happen anymore.

Test Plan
ninja check-crate-bitcoinsuite-core

Diff Detail

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