[
https://issues.apache.org/jira/browse/PDFBOX-3348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-3348.
-------------------------------------
Resolution: Fixed
> NPE in Type1Parser.parseBinary
> ------------------------------
>
> Key: PDFBOX-3348
> URL: https://issues.apache.org/jira/browse/PDFBOX-3348
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Affects Versions: 2.0.0, 2.0.1, 2.0.2, 2.1.0
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Fix For: 2.0.2, 2.1.0
>
> Attachments: PDFBOX-3348-058289-p1.pdf
>
>
> NPE happens in this code if the content is crap, because peekToken() can be
> null:
> {code}
> // find /Private dict
> while (!lexer.peekToken().getText().equals("Private"))
> {
> lexer.nextToken();
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]