Skip slow scaling in libwebp advanced_api_fuzzer

Change-Id: Ic57e7f8418afec42f042197a401aaf4cc047b23f
This commit is contained in:
yguyon@google.com 2023-03-08 07:50:19 +00:00 committed by James Zern
parent 859f19f74f
commit 89edfdd1e9

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