You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/11/08 16:47:00 UTC

[jira] [Commented] (PDFBOX-5315) Stack overflow in PDColorSpace.create()

    [ https://issues.apache.org/jira/browse/PDFBOX-5315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17440585#comment-17440585 ] 

ASF subversion and git services commented on PDFBOX-5315:
---------------------------------------------------------

Commit 1894842 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1894842 ]

PDFBOX-5315: avoid recursion

> Stack overflow in PDColorSpace.create()
> ---------------------------------------
>
>                 Key: PDFBOX-5315
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5315
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.20, 2.0.21, 2.0.22, 2.0.23, 2.0.24
>            Reporter: Maison
>            Priority: Major
>         Attachments: bug_color_space.pdf
>
>
> The fix of PDFBOX-4833 (handling of dictionary with /ColorSpace entry) introduces an infinite recursion bug in case the referenced dictionary is the color space itself.
> Extract of a pdf that triggers the bug (see attachment):
> *18 0 obj*
> <</Type/XObject/Subtype/Image/Width 2794/Height 928/SMask 3 0 R/Length 13428/BitsPerComponent 8/Filter/FlateDecode/ColorSpace {*}18 0 R{*}>>
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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