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

OsSecureRandom.setConf() might leak file descriptors.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.6.0
    • security
    • None

    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.002.patch
          3 kB
          Yongjun Zhang
        2. HADOOP-11056.001.patch
          3 kB
          Yongjun Zhang

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: