Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.25
Description
java.io.EOFException: Can't read 20 bytes org.apache.pdfbox.filter.CCITTFaxFilter.decode(CCITTFaxFilter.java:77) org.apache.pdfbox.pdmodel.graphics.image.PDInlineImage.<init>(PDInlineImage.java:90) org.apache.pdfbox.contentstream.operator.graphics.BeginInlineImage.process(BeginInlineImage.java:44)
This is a valid tiny inline image (a hyphen in a type 3 font charproc stream) that is 19 bytes long in a file that I can't share. We only need to adjust the pushback.
Attachments
Issue Links
- relates to
-
PDFBOX-5057 Review CCITTFaxDecoder updates
- Closed
Commit 1896920 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1896920 ]
PDFBOX-5360: allow streams smaller than 20 bytes