Maison created PDFBOX-5315:
------------------------------
Summary: 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.24, 2.0.23, 2.0.22, 2.0.21, 2.0.20
Reporter: Maison
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: [email protected]
For additional commands, e-mail: [email protected]