pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-4339) NullPointerException in COSParser
Date Thu, 11 Oct 2018 18:54:00 GMT

    [ https://issues.apache.org/jira/browse/PDFBOX-4339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16646898#comment-16646898
] 

ASF subversion and git services commented on PDFBOX-4339:
---------------------------------------------------------

Commit 1843586 from tilman@apache.org in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1843586 ]

PDFBOX-4339: avoid NullPointerException

> 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
>            Priority: Minor
>         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-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org


Mime
View raw message