advanced_api_fuzzer: reduce scaling limit

avoids another timeout while fuzzing with ASan

Change-Id: Ic5dfed15347bdd36f42274b8b2a25aec79fd568c
This commit is contained in:
James Zern 2023-04-18 19:46:17 +00:00
parent 761f49c3ab
commit 4070b271ab

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 /= 11;
fuzz_px_limit /= 13;
}
// A big output canvas can lead to out-of-memory and timeout issues,
// but a big internal working buffer can too.