You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/10/17 20:08:58 UTC
[jira] [Updated] (FLINK-4849) trustStorePassword should be checked
against null in SSLUtils#createSSLClientContext
[ https://issues.apache.org/jira/browse/FLINK-4849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated FLINK-4849:
--------------------------
Summary: trustStorePassword should be checked against null in SSLUtils#createSSLClientContext (was: keystoreFilePath should be checked against null in SSLUtils#createSSLServerContext)
> trustStorePassword should be checked against null in SSLUtils#createSSLClientContext
> ------------------------------------------------------------------------------------
>
> Key: FLINK-4849
> URL: https://issues.apache.org/jira/browse/FLINK-4849
> Project: Flink
> Issue Type: Bug
> Reporter: Ted Yu
> 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.4#6332)