Robin Schimpf created PDFBOX-4339:
-------------------------------------

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

Fuzzing PDF loading with [JQF|https://github.com/rohanpadhye/jqf] triggered a 
NullPointerException.
{code:java}
java.lang.NullPointerException
        at 
org.apache.pdfbox.pdfparser.COSParser.checkPagesDictionary(COSParser.java:2345)
        at org.apache.pdfbox.pdfparser.COSParser.checkPages(COSParser.java:2321)
        at 
org.apache.pdfbox.pdfparser.PDFParser.initialParse(PDFParser.java:193)
        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-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to