[ 
https://issues.apache.org/jira/browse/FLINK-4848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chesnay Schepler closed FLINK-4848.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.1
                   1.3.0

1.2: 2c0e915a4e5bc742d2c04a1d768c0e69e3384ed8
1.3: 80800d8cecee2d20add674bb2a74cd2065b52cf8

> 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.2.0, 1.3.0
>            Reporter: Ted Yu
>            Assignee: Chesnay Schepler
>            Priority: Minor
>             Fix For: 1.3.0, 1.2.1
>
>
> {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)

Reply via email to