Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
common: Fix off-by-one in
from_bech32_charset
`bech32_charset_rev` is only 128 bytes in size but the `c < 0 || c > 128` check allows for `c` to be equal to 128 which would be out-of-bounds. Fix this off-by-one bug by changing the check to `c >= 128`.
- Loading branch information