[
https://issues.apache.org/jira/browse/PDFBOX-4622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Rebert updated PDFBOX-4622:
--------------------------------
Attachment: fontbox-exceptions.zip
> Various exceptions in TTFParser.parse
> -------------------------------------
>
> Key: PDFBOX-4622
> URL: https://issues.apache.org/jira/browse/PDFBOX-4622
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Affects Versions: 2.0.16
> Environment: openjdk version "1.8.0_212"
> OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_212-b03)
> OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.212-b03, mixed mode)
> MacOS Mojave
> Reporter: Alex Rebert
> Priority: Minor
> Attachments: fontbox-exceptions.zip
>
>
> {{TTFParser.parse}} can lead to various unchecked exceptions when parsing
> malformed inputs.
> *Steps to repro*
> # Create & compile Main.java:
> {code:java}
> import org.apache.fontbox.ttf.TTFParser;
> class Main {
> public static void main(String[] args) throws Throwable {
> (new TTFParser()).parse(System.in);
> }
> }{code}
> * Download the malformed inputs and extract them.
> * For each input, run {{cat <input> | java -cp Main}} to reproduce the
> exceptions.
> *Stacktraces*
> <About to add them>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]