You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Daniel Persson (Jira)" <ji...@apache.org> on 2020/02/04 09:10:00 UTC

[jira] [Updated] (PDFBOX-4762) Inconsistent handling of incorrect data

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

Daniel Persson updated PDFBOX-4762:
-----------------------------------
    Attachment: inconsistant.patch

> 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
>            Priority: Minor
>              Labels: patch
>         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-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org