You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2020/02/05 17:08:00 UTC
[jira] [Resolved] (PDFBOX-4762) Inconsistent handling of incorrect
data
[ https://issues.apache.org/jira/browse/PDFBOX-4762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr resolved PDFBOX-4762.
-------------------------------------
Assignee: Tilman Hausherr
Resolution: Fixed
Thanks, fixed.
> 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
> Assignee: Tilman Hausherr
> Priority: Minor
> Labels: patch
> Fix For: 2.0.19, 3.0.0 PDFBox
>
> 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.
>
> Added the crashing pdf on my google drive if you want it to test with
> https://drive.google.com/open?id=1bcT27NoqNM-pphYiFCy13bq81potqUc6
>
> 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