[jboss-jira] [JBoss JIRA] (ELY-537) Resource leaks in KeystorePasswordStore

David Lloyd (JIRA) issues at jboss.org
Sat Jun 18 09:32:00 EDT 2016


     [ https://issues.jboss.org/browse/ELY-537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Lloyd reassigned ELY-537:
-------------------------------

    Assignee: David Lloyd  (was: Darran Lofthouse)


> Resource leaks in KeystorePasswordStore
> ---------------------------------------
>
>                 Key: ELY-537
>                 URL: https://issues.jboss.org/browse/ELY-537
>             Project: WildFly Elytron
>          Issue Type: Bug
>    Affects Versions: 1.1.0.Beta5
>            Reporter: Ondrej Lukas
>            Assignee: David Lloyd
>              Labels: static_analysis
>             Fix For: 1.1.0.Beta7
>
>
> There are two resource leaks in org.wildfly.security.credential.store.impl.KeystorePasswordStore on line 413 [1] and 460 [2]. Both FileOutputStream and FileInputStream should be closed.
> [1] https://github.com/wildfly-security/wildfly-elytron/blob/ef67225884aa79b8e949c768a867c303af09fac4/src/main/java/org/wildfly/security/credential/store/impl/KeystorePasswordStore.java#L413
> [2] https://github.com/wildfly-security/wildfly-elytron/blob/ef67225884aa79b8e949c768a867c303af09fac4/src/main/java/org/wildfly/security/credential/store/impl/KeystorePasswordStore.java#L460



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list