mirror of
https://github.com/webmproject/libwebp.git
synced 2025-04-11 19:36:47 +02:00
advanced_api_fuzzer: reduce scaling limit
avoids another timeout while fuzzing with ASan Change-Id: Ibd89e56bf936aeea040cd4c47ccae20960417ac0
This commit is contained in:
parent
89edfdd1e9
commit
cbf624b561
@ -85,7 +85,7 @@ int LLVMFuzzerTestOneInput(const uint8_t* const data, size_t size) {
|
|||||||
scaled_height != config.input.height) {
|
scaled_height != config.input.height) {
|
||||||
// Using the WebPRescalerImport internally can significantly slow
|
// Using the WebPRescalerImport internally can significantly slow
|
||||||
// down the execution. Avoid timeouts due to that.
|
// 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,
|
// A big output canvas can lead to out-of-memory and timeout issues,
|
||||||
// but a big internal working buffer can too.
|
// but a big internal working buffer can too.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user