mirror of
https://github.com/qpdf/qpdf.git
synced 2024-09-07 18:59:01 +00:00
In qpdf_fuzzer reduce Pl_PNGFilter and Pl_TIFFPredictor memory limits
This commit is contained in:
parent
4f16961052
commit
4f694cdfde
@ -181,8 +181,8 @@ FuzzHelper::doChecks()
|
||||
// occur legitimately and therefore must be allowed during normal operations.
|
||||
Pl_DCT::setMemoryLimit(1'000'000'000);
|
||||
|
||||
Pl_PNGFilter::setMemoryLimit(1'000'000'000);
|
||||
Pl_TIFFPredictor::setMemoryLimit(1'000'000'000);
|
||||
Pl_PNGFilter::setMemoryLimit(1'000'000);
|
||||
Pl_TIFFPredictor::setMemoryLimit(1'000'000);
|
||||
|
||||
// Do not decompress corrupt data. This may cause extended runtime within jpeglib without
|
||||
// exercising additional code paths in qpdf, and potentially causing counterproductive timeouts.
|
||||
|
Loading…
Reference in New Issue
Block a user