You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2022/01/11 13:02:00 UTC
[jira] [Created] (PDFBOX-5360) EOFException: Can't read 20 bytes
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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org