Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
On TIKA-1631, several users pointed out that a bad value for the 4th byte of an apparently Z compressed file can lead to an OOM.
If possible, it would be great to parameterize ZCompressorInputStream to set a threshold. Or, if this should be kept out of COMPRESS, is there some way that we could load a threshold-checking subclass of ZCompressorInputStream via the CompressorStreamFactory?
Attachments
Issue Links
- relates to
-
COMPRESS-382 OutOfMemoryError from CompressorStreamFactory
- Resolved
-
TIKA-1631 OutOfMemoryException in ZipContainerDetector
- Resolved