diff options
author | James Zern <jzern@google.com> | 2023-03-24 16:57:57 +0000 |
---|---|---|
committer | James Zern <jzern@google.com> | 2023-03-24 10:52:46 -0700 |
commit | cbf624b56167f99ec4deb86f5ea6af988984d221 (patch) | |
tree | c679783cbd6d466fe74179386315e561f93a4f10 | |
parent | 89edfdd1e982fa146308b73cb5f02ac8dc411b62 (diff) | |
download | libwebp-cbf624b56167f99ec4deb86f5ea6af988984d221.tar.gz |
advanced_api_fuzzer: reduce scaling limit
avoids another timeout while fuzzing with ASan
Change-Id: Ibd89e56bf936aeea040cd4c47ccae20960417ac0
-rw-r--r-- | tests/fuzzer/advanced_api_fuzzer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fuzzer/advanced_api_fuzzer.c b/tests/fuzzer/advanced_api_fuzzer.c index de1149a9..e4280a09 100644 --- a/tests/fuzzer/advanced_api_fuzzer.c +++ b/tests/fuzzer/advanced_api_fuzzer.c @@ -85,7 +85,7 @@ int LLVMFuzzerTestOneInput(const uint8_t* const data, size_t size) { scaled_height != config.input.height) { // Using the WebPRescalerImport internally can significantly slow // down the execution. Avoid timeouts due to that. - fuzz_px_limit /= 8; + fuzz_px_limit /= 9; } // A big output canvas can lead to out-of-memory and timeout issues, // but a big internal working buffer can too. |