Daniel Persson created PDFBOX-4762:
--------------------------------------

             Summary: Inconsistent handling of incorrect data
                 Key: PDFBOX-4762
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4762
             Project: PDFBox
          Issue Type: Improvement
          Components: Rendering
    Affects Versions: 2.0.18
            Reporter: Daniel Persson
         Attachments: inconsistant.patch

We had a PDF that had a strange page with 200Mb+ of text to extract and the 
deflate function did not work correctly. 

This created a fatal in PDFBox and I did some debugging and noticed that we 
handle  SetNonStrokingColorSpace and SetStrokingColorSpace in different ways. 
One of them had a check if the in data was incorrect and returned and the other 
one did not have this check.

I made this small patch that I will include in this issue to rectify this 
inconsistency.

Best regards

Daniel



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to