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] [Resolved] (PDFBOX-4352) NullPointerException in COSParser
Date Wed, 17 Oct 2018 19:58:00 GMT

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

Tilman Hausherr resolved PDFBOX-4352.
-------------------------------------
       Resolution: Fixed
         Assignee: Tilman Hausherr
    Fix Version/s: 3.0.0 PDFBox
                   2.0.13

Thanks!

> NullPointerException in COSParser
> ---------------------------------
>
>                 Key: PDFBOX-4352
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4352
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.12
>            Reporter: Robin Schimpf
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 2.0.13, 3.0.0 PDFBox
>
>         Attachments: NullPointerException COSParser#parseDictionaryRecursive
>
>
> Fuzzing PDF loading with [JQF|https://github.com/rohanpadhye/jqf] triggered an NullPointerException.
> {code:java}
> java.lang.NullPointerException
> 	at org.apache.pdfbox.pdfparser.COSParser.parseDictionaryRecursive(COSParser.java:2920)
> 	at org.apache.pdfbox.pdfparser.COSParser.prepareDecryption(COSParser.java:2865)
> 	at org.apache.pdfbox.pdfparser.COSParser.retrieveTrailer(COSParser.java:284)
> 	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