hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongjun Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11056) OsSecureRandom.setConf() might leak resource
Date Wed, 03 Sep 2014 17:18:53 GMT

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

Yongjun Zhang updated HADOOP-11056:
-----------------------------------
    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.

 

  was:
OsSecureRandom.setConf() might leak resource, if {{fillReservoir(0);}} throw exception, the
steam is not closed.

 


> OsSecureRandom.setConf() might leak resource
> --------------------------------------------
>
>                 Key: HADOOP-11056
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11056
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>            Reporter: Yongjun Zhang
>            Assignee: Yongjun Zhang
>         Attachments: HADOOP-11056.001.patch
>
>
> 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.
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message