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

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

Commit 1624536 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1624536 ]

PDFBOX-2345: avoid exception if there are more objects than in /N value of 
/ObjStrm

> IndexOutOfBoundsException reading encrypted pdf
> -----------------------------------------------
>
>                 Key: PDFBOX-2345
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2345
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.0
>            Reporter: simon steiner
>         Attachments: out.pdf
>
>
> java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar 
> WriteDecodedDoc -nonSeq out.pdf
> Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 4, 
> Size: 4
>       at java.util.ArrayList.rangeCheck(ArrayList.java:635)
>       at java.util.ArrayList.get(ArrayList.java:411)
>       at 
> org.apache.pdfbox.pdfparser.PDFObjectStreamParser.parse(PDFObjectStreamParser.java:110)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to