diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2019-11-18 15:26:55 -0800 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2019-12-05 16:31:09 -0800 |
commit | 5909bcd3bf3c3502355e89fd0b76bb8e93d8a95b (patch) | |
tree | 388569d03abf646a5b616c7a68e4611d0f2cf0a3 /src/bench | |
parent | 2bcf1fc444d5c4b8efa879e54e7b6134b7e6b986 (diff) |
Add bounds checks in key_io before DecodeBase58Check
Diffstat (limited to 'src/bench')
-rw-r--r-- | src/bench/base58.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/base58.cpp b/src/bench/base58.cpp index 40a7b5e320..d8c9b2e01a 100644 --- a/src/bench/base58.cpp +++ b/src/bench/base58.cpp @@ -47,7 +47,7 @@ static void Base58Decode(benchmark::State& state) const char* addr = "17VZNX1SN5NtKa8UQFxwQbFeFc3iqRYhem"; std::vector<unsigned char> vch; while (state.KeepRunning()) { - (void) DecodeBase58(addr, vch); + (void) DecodeBase58(addr, vch, 64); } } |