Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2744

Add validation check for setNonStrokingColor and setStrokingColor

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.9, 1.8.10, 2.0.0
    • Fix Version/s: 1.8.10, 2.0.0
    • Component/s: Writing
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              tilman Tilman Hausherr
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: