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

Timo Boehme resolved PDFBOX-5624.
---------------------------------
    Resolution: Fixed

> Infinte loop when parsing Type1 font
> ------------------------------------
>
>                 Key: PDFBOX-5624
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5624
>             Project: PDFBox
>          Issue Type: Bug
>          Components: FontBox
>    Affects Versions: 2.0.28, 3.0.0 PDFBox
>            Reporter: Timo Boehme
>            Assignee: Timo Boehme
>            Priority: Major
>             Fix For: 2.0.29, 3.0.0 PDFBox
>
>
> At 2 places the Type1Parser has a loop with a negated condition on the next 
> token to be read. The loops simply advances to the next token without 
> checking the token to be null, which may happen if the font is 
> corrupted/shortened. If this occurs the parser is stuck in the loops. This 
> happens to me for one of the loops with a file which however cannot be 
> shared. The 2nd loop was found by scanning the code for similar problems.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to