pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Schimpf (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PDFBOX-4353) NullPointerException in PDFXrefStreamParser
Date Wed, 17 Oct 2018 19:11:00 GMT
Robin Schimpf created PDFBOX-4353:
-------------------------------------

             Summary: NullPointerException in PDFXrefStreamParser
                 Key: PDFBOX-4353
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4353
             Project: PDFBox
          Issue Type: Bug
    Affects Versions: 2.0.12
            Reporter: Robin Schimpf
         Attachments: NullPointerException PDFXrefStreamParser#parse

Fuzzing PDF loading with [JQF|https://github.com/rohanpadhye/jqf] triggered an NullPointerException.
{code:java}
java.lang.NullPointerException
	at org.apache.pdfbox.pdfparser.PDFXrefStreamParser.parse(PDFXrefStreamParser.java:95)
	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