Tilman Hausherr created PDFBOX-5360:
---------------------------------------

             Summary: EOFException: Can't read 20 bytes
                 Key: PDFBOX-5360
                 URL: https://issues.apache.org/jira/browse/PDFBOX-5360
             Project: PDFBox
          Issue Type: Bug
          Components: Rendering
    Affects Versions: 2.0.25
            Reporter: Tilman Hausherr
            Assignee: Tilman Hausherr
             Fix For: 2.0.26, 3.0.0 PDFBox


{noformat}
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)
{noformat}
This is a valid tiny inline image (a hyphen) that is 19 bytes long in a file 
that I can't share. We can keep the array as it is (java initializes with zero) 
but need to adjust the pushback and also check for size 2.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to