Commit 4f694cdfde1558b0dfdf42cf362796bf11792d2c
1 parent
4f169610
In qpdf_fuzzer reduce Pl_PNGFilter and Pl_TIFFPredictor memory limits
Showing
1 changed file
with
2 additions
and
2 deletions
fuzz/qpdf_fuzzer.cc
| ... | ... | @@ -181,8 +181,8 @@ FuzzHelper::doChecks() |
| 181 | 181 | // occur legitimately and therefore must be allowed during normal operations. |
| 182 | 182 | Pl_DCT::setMemoryLimit(1'000'000'000); |
| 183 | 183 | |
| 184 | - Pl_PNGFilter::setMemoryLimit(1'000'000'000); | |
| 185 | - Pl_TIFFPredictor::setMemoryLimit(1'000'000'000); | |
| 184 | + Pl_PNGFilter::setMemoryLimit(1'000'000); | |
| 185 | + Pl_TIFFPredictor::setMemoryLimit(1'000'000); | |
| 186 | 186 | |
| 187 | 187 | // Do not decompress corrupt data. This may cause extended runtime within jpeglib without |
| 188 | 188 | // exercising additional code paths in qpdf, and potentially causing counterproductive timeouts. | ... | ... |