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 Fri, 12 Oct 2018 15:26:00 GMT

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

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

Commit 1843678 from tilman@apache.org in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1843678 ]

PDFBOX-4338, PDFBOX-4339: improve log message

> NullPointerException in COSParser
> ---------------------------------
>
>                 Key: PDFBOX-4339
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4339
>             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
>
>
> 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