You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/07/26 15:01:00 UTC

[jira] [Commented] (PDFBOX-4924) ArrayIndexOutOfBoundsException in PreflightParser.checkPdfHeader

    [ https://issues.apache.org/jira/browse/PDFBOX-4924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17165238#comment-17165238 ] 

ASF subversion and git services commented on PDFBOX-4924:
---------------------------------------------------------

Commit 1880327 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1880327 ]

PDFBOX-4924: empty second line is also a fail

> ArrayIndexOutOfBoundsException in PreflightParser.checkPdfHeader
> ----------------------------------------------------------------
>
>                 Key: PDFBOX-4924
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4924
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 3.0.0 PDFBox
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 3.0.0 PDFBox
>
>         Attachments: 229412.pdf
>
>
> {code:java}
> java.lang.ArrayIndexOutOfBoundsException: 0
> 	at org.apache.pdfbox.preflight.parser.PreflightParser.checkPdfHeader(PreflightParser.java:254)
> 	at org.apache.pdfbox.preflight.parser.PreflightParser.parse(PreflightParser.java:185)
> 	at org.apache.pdfbox.preflight.parser.PreflightParser.parse(PreflightParser.java:166)
> 	at org.apache.pdfbox.preflight.parser.PreflightParser.parse(PreflightParser.java:154)
> 	at org.apache.pdfbox.preflight.parser.PreflightParser.validate(PreflightParser.java:876) {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org