[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to