[
https://issues.apache.org/jira/browse/PDFBOX-3947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16190290#comment-16190290
]
ASF subversion and git services commented on PDFBOX-3947:
---------------------------------------------------------
Commit 1811030 from [~lehmi] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1811030 ]
PDFBOX-3947: skip corrupt object stream
> ArrayIndexOutOfBoundsException in bfSearchForObjStreams
> -------------------------------------------------------
>
> Key: PDFBOX-3947
> URL: https://issues.apache.org/jira/browse/PDFBOX-3947
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.8
> Reporter: Tilman Hausherr
> Assignee: Andreas Lehmkühler
> Labels: regression
> Attachments: 670064.pdf
>
>
> {code}
> java.lang.ArrayIndexOutOfBoundsException: 184
>
> org.apache.pdfbox.pdfparser.COSParser.bfSearchForObjStreams(COSParser.java:1766)
>
> org.apache.pdfbox.pdfparser.COSParser.bfSearchForObjects(COSParser.java:1529)
>
> org.apache.pdfbox.pdfparser.COSParser.getBFCOSObjectOffsets(COSParser.java:1445)
>
> org.apache.pdfbox.pdfparser.COSParser.checkXrefOffsets(COSParser.java:1379)
> org.apache.pdfbox.pdfparser.COSParser.parseXref(COSParser.java:368)
> org.apache.pdfbox.pdfparser.COSParser.retrieveTrailer(COSParser.java:214)
> org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:189)
> org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:239)
> org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1017)
> org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:955)
>
> org.apache.pdfbox.debugger.PDFDebugger.parseDocument(PDFDebugger.java:1408)
> org.apache.pdfbox.debugger.PDFDebugger.readPDFFile(PDFDebugger.java:1326)
> org.apache.pdfbox.debugger.PDFDebugger.readPDFFile(PDFDebugger.java:1309)
> org.apache.pdfbox.debugger.PDFDebugger.main(PDFDebugger.java:275)
> org.apache.pdfbox.tools.PDFBox.main(PDFBox.java:72)
> {code}
> worked with 2.0.7. It's the only file from the recent test by Tim.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]