mirror of
https://github.com/webmproject/libwebp.git
synced 2025-04-19 23:36:45 +02:00
Reduce libwebp advanced_api_fuzzer threshold
To avoid timeouts. Change-Id: I8909661479cdbcb940bb44c6f9130906cab3f271
This commit is contained in:
parent
a4f0483579
commit
859f19f74f
@ -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 /= 2;
|
fuzz_px_limit /= 3;
|
||||||
}
|
}
|
||||||
// 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