mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 02:33:24 -03:00
fuzz: Limit ParseISO8601DateTime fuzzing to 32-bit
This commit is contained in:
parent
5925f1e652
commit
fa1aa6c571
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ FUZZ_TARGET(parse_iso8601)
|
|||
{
|
||||
FuzzedDataProvider fuzzed_data_provider(buffer.data(), buffer.size());
|
||||
|
||||
const int64_t random_time = fuzzed_data_provider.ConsumeIntegral<int64_t>();
|
||||
const int64_t random_time = fuzzed_data_provider.ConsumeIntegral<int32_t>();
|
||||
const std::string random_string = fuzzed_data_provider.ConsumeRemainingBytesAsString();
|
||||
|
||||
const std::string iso8601_datetime = FormatISO8601DateTime(random_time);
|
||||
|
|
Loading…
Add table
Reference in a new issue