Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-4848

keystoreFilePath should be checked against null in SSLUtils#createSSLServerContext

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2.0, 1.3.0
    • 1.2.1, 1.3.0
    • Runtime / Coordination
    • None

    Description

            String keystoreFilePath = sslConfig.getString(
              ConfigConstants.SECURITY_SSL_KEYSTORE,
              null);
      ...
            try {
              keyStoreFile = new FileInputStream(new File(keystoreFilePath));
      

      If keystoreFilePath is null, the File ctor would throw NPE.

      Attachments

        Issue Links

          Activity

            People

              chesnay Chesnay Schepler
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: