mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-08 06:15:23 +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.
|
// occur legitimately and therefore must be allowed during normal operations.
|
||||||
Pl_DCT::setMemoryLimit(1'000'000'000);
|
Pl_DCT::setMemoryLimit(1'000'000'000);
|
||||||
|
|
||||||
Pl_PNGFilter::setMemoryLimit(1'000'000'000);
|
Pl_PNGFilter::setMemoryLimit(1'000'000);
|
||||||
Pl_TIFFPredictor::setMemoryLimit(1'000'000'000);
|
Pl_TIFFPredictor::setMemoryLimit(1'000'000);
|
||||||
|
|
||||||
// Do not decompress corrupt data. This may cause extended runtime within jpeglib without
|
// Do not decompress corrupt data. This may cause extended runtime within jpeglib without
|
||||||
// exercising additional code paths in qpdf, and potentially causing counterproductive timeouts.
|
// exercising additional code paths in qpdf, and potentially causing counterproductive timeouts.
|
||||||
|
Loading…
Reference in New Issue
Block a user