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

Handle null being passed to COSWriter public API

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0 PDFBox
    • Fix Version/s: None
    • Component/s: Writing
    • Labels:
      None

      Description

      Passing null to public API methods in COSWriter will either fail with an NPE or produce a malformed PDF. Currently that is not happening as we ensure that proper input is being passed to COSWriter but in order to enhance the code quality we should handle that.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              msahyoun Maruan Sahyoun
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: