pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (PDFBOX-4347) ArrayIndexOutOfBoundsException in PDFXrefStreamParser
Date Sun, 21 Oct 2018 17:42:00 GMT

     [ https://issues.apache.org/jira/browse/PDFBOX-4347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tilman Hausherr reassigned PDFBOX-4347:
---------------------------------------

    Assignee: Tilman Hausherr

> ArrayIndexOutOfBoundsException in PDFXrefStreamParser
> -----------------------------------------------------
>
>                 Key: PDFBOX-4347
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4347
>             Project: PDFBox
>          Issue Type: Bug
>            Reporter: Robin Schimpf
>            Assignee: Tilman Hausherr
>            Priority: Minor
>         Attachments: ArrayIndexOutOfBoundsException PDFXrefStreamParser#parse
>
>
> Fuzzing PDF loading with [JQF|https://github.com/rohanpadhye/jqf] triggered an ArrayIndexOutOfBoundsException.
> {code:java}
> java.lang.ArrayIndexOutOfBoundsException: 1
> 	at org.apache.pdfbox.pdfparser.PDFXrefStreamParser.parse(PDFXrefStreamParser.java:150)
> 	at org.apache.pdfbox.pdfparser.COSParser.parseXrefStream(COSParser.java:2767)
> 	at org.apache.pdfbox.pdfparser.COSParser.parseXrefObjStream(COSParser.java:442)
> 	at org.apache.pdfbox.pdfparser.COSParser.parseXref(COSParser.java:392)
> 	at org.apache.pdfbox.pdfparser.COSParser.retrieveTrailer(COSParser.java:254)
> 	at org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:171)
> 	at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:220)
> 	at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1160)
> 	at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1057)
>     ...
> {code}
> The Code used for fuzzing is
> {code:java}
> PDDocument.load(inputStream)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message