Timo Boehme created PDFBOX-5624:
-----------------------------------

             Summary: 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
            Reporter: Timo Boehme
            Assignee: Timo Boehme


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