Reduce libwebp advanced_api_fuzzer threshold

To avoid timeouts.

Change-Id: I8909661479cdbcb940bb44c6f9130906cab3f271
This commit is contained in:
yguyon@google.com 2023-02-24 09:14:41 +00:00 committed by James Zern
parent a4f0483579
commit 859f19f74f

View File

@ -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.