You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2017/04/06 05:36:41 UTC
[jira] [Updated] (FLINK-4848) keystoreFilePath should be checked
against null in SSLUtils#createSSLServerContext
[ https://issues.apache.org/jira/browse/FLINK-4848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler updated FLINK-4848:
------------------------------------
Affects Version/s: 1.3.0
> keystoreFilePath should be checked against null in SSLUtils#createSSLServerContext
> ----------------------------------------------------------------------------------
>
> Key: FLINK-4848
> URL: https://issues.apache.org/jira/browse/FLINK-4848
> Project: Flink
> Issue Type: Bug
> Components: Security
> Affects Versions: 1.3.0
> Reporter: Ted Yu
> Assignee: Chesnay Schepler
> Priority: Minor
>
> {code}
> String keystoreFilePath = sslConfig.getString(
> ConfigConstants.SECURITY_SSL_KEYSTORE,
> null);
> ...
> try {
> keyStoreFile = new FileInputStream(new File(keystoreFilePath));
> {code}
> If keystoreFilePath is null, the File ctor would throw NPE.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)