[ https://issues.apache.org/jira/browse/FLINK-4848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15957734#comment-15957734 ]
ASF GitHub Bot commented on FLINK-4848: --------------------------------------- Github user tedyu commented on the issue: https://github.com/apache/flink/pull/3677 lgtm Thanks > 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 > 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)