You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "valery (Jira)" <ji...@apache.org> on 2021/04/05 09:44:00 UTC
[jira] [Commented] (PDFBOX-4145) Handle null being passed to
COSWriter public API
[ 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org