advanced_api_fuzzer: reduce scaling limit

avoids another timeout while fuzzing with ASan

Change-Id: Ibd89e56bf936aeea040cd4c47ccae20960417ac0
This commit is contained in:
James Zern 2023-03-24 16:57:57 +00:00
parent 89edfdd1e9
commit cbf624b561

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 /= 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.