[ 
https://issues.apache.org/jira/browse/PDFBOX-4145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17314737#comment-17314737
 ] 

valery commented on PDFBOX-4145:
--------------------------------

https://github.com/apache/pdfbox/pull/113

> Handle null being passed to COSWriter public API
> ------------------------------------------------
>
>                 Key: PDFBOX-4145
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4145
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Writing
>    Affects Versions: 3.0.0 PDFBox
>            Reporter: Maruan Sahyoun
>            Priority: Minor
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to