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 2021/02/23 18:33:00 UTC
[jira] [Commented] (PDFBOX-5108) ArrayIndexOutOfBoundsException in
PDFXrefStreamParser.parseValue
[ https://issues.apache.org/jira/browse/PDFBOX-5108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17289253#comment-17289253 ]
ASF subversion and git services commented on PDFBOX-5108:
---------------------------------------------------------
Commit 1886851 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1886851 ]
PDFBOX-5108: avoid negative /W values
> ArrayIndexOutOfBoundsException in PDFXrefStreamParser.parseValue
> ----------------------------------------------------------------
>
> Key: PDFBOX-5108
> URL: https://issues.apache.org/jira/browse/PDFBOX-5108
> Project: PDFBox
> Issue Type: Bug
> Reporter: Fabian Meumertzheim
> Priority: Major
> Attachments: crash-d3711638c8e57f0c8dcf1b0ac535830266f459cd.pdf
>
>
> The attached (broken) PDF throws the following undeclared exception when loaded via Loader.loadPDF (using current Git revision 275c77953ec8c2c896f9085b3508bef2c4d00d2f):
> java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
> at org.apache.pdfbox.pdfparser.PDFXrefStreamParser.parseValue(PDFXrefStreamParser.java:176)
> at org.apache.pdfbox.pdfparser.PDFXrefStreamParser.parse(PDFXrefStreamParser.java:152)
> at org.apache.pdfbox.pdfparser.COSParser.parseXrefStream(COSParser.java:2451)
> at org.apache.pdfbox.pdfparser.COSParser.parseXrefObjStream(COSParser.java:444)
> at org.apache.pdfbox.pdfparser.COSParser.parseXref(COSParser.java:391)
> at org.apache.pdfbox.pdfparser.COSParser.retrieveTrailer(COSParser.java:238)
> at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:127)
> at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:180)
> at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:154)
> at org.apache.pdfbox.Loader.loadPDF(Loader.java:204)
> at com.example.PdfBoxFuzzer.fuzzerTestOneInput(PdfBoxFuzzer.java:31)
--
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