flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-4849) keystoreFilePath should be checked against null in SSLUtils#createSSLServerContext
Date Mon, 17 Oct 2016 17:56:58 GMT
Ted Yu created FLINK-4849:
-----------------------------

             Summary: keystoreFilePath should be checked against null in SSLUtils#createSSLServerContext
                 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)

Mime
View raw message