Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11056

OsSecureRandom.setConf() might leak file descriptors.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.6.0
    • Component/s: security
    • Labels:
      None
    • Target Version/s:

      Description

      OsSecureRandom.setConf() might leak resource, the stream is not closed when:

      1. if setConf() is called a second time
      2. if fillReservoir(0); throw exception.

        Attachments

        1. HADOOP-11056.001.patch
          3 kB
          Yongjun Zhang
        2. HADOOP-11056.002.patch
          3 kB
          Yongjun Zhang

          Issue Links

            Activity

              People

              • Assignee:
                yzhangal Yongjun Zhang
                Reporter:
                yzhangal Yongjun Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: