Merge changes Ibd89e56b,Ic57e7f84,I89096614 into main

* changes:
  advanced_api_fuzzer: reduce scaling limit
  Skip slow scaling in libwebp advanced_api_fuzzer
  Reduce libwebp advanced_api_fuzzer threshold
This commit is contained in:
James Zern 2023-03-25 01:50:02 +00:00 committed by Gerrit Code Review
commit 349f4353dd

View File

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