Tilman Hausherr created PDFBOX-2744:
---------------------------------------
Summary: Add validation check for setNonStrokingColor and
setStrokingColor
Key: PDFBOX-2744
URL: https://issues.apache.org/jira/browse/PDFBOX-2744
Project: PDFBox
Issue Type: Improvement
Components: Writing
Affects Versions: 1.8.9, 1.8.10, 2.0.0
Reporter: Tilman Hausherr
Assignee: Tilman Hausherr
Validate parameters and check that the correct colorspace is active. Currently
this isn't done, see here, where a user was able to call a method meant for
DeviceGray although the selected colorspace was Separation:
https://mail-archives.apache.org/mod_mbox/pdfbox-users/201504.mbox/%3C551C8867.1000805%40gmail.com%3E
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]