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

Add validation check for setNonStrokingColor and setStrokingColor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.9, 1.8.10, 2.0.0
    • 1.8.10, 2.0.0
    • Writing
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: