summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryguyon@google.com <yguyon@google.com>2023-02-24 09:14:41 +0000
committerJames Zern <jzern@google.com>2023-03-24 10:52:40 -0700
commit859f19f74f7d583f3132875a34489601455bff48 (patch)
treea7c89bf5fcffd9db29dbe899973b4a2eaaad3469
parenta4f048357956604790a08777149b4dbd248d0685 (diff)
downloadlibwebp-859f19f74f7d583f3132875a34489601455bff48.tar.gz
Reduce libwebp advanced_api_fuzzer threshold
To avoid timeouts. Change-Id: I8909661479cdbcb940bb44c6f9130906cab3f271
-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 1378d0bc..e861db76 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 /= 2;
+ fuzz_px_limit /= 3;
}
// A big output canvas can lead to out-of-memory and timeout issues,
// but a big internal working buffer can too.