summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2023-03-24 16:57:57 +0000
committerJames Zern <jzern@google.com>2023-03-24 10:52:46 -0700
commitcbf624b56167f99ec4deb86f5ea6af988984d221 (patch)
treec679783cbd6d466fe74179386315e561f93a4f10
parent89edfdd1e982fa146308b73cb5f02ac8dc411b62 (diff)
downloadlibwebp-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.c2
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.