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

Ondrej Lukas (JIRA) issues at jboss.org
Wed May 18 05:57:00 EDT 2016


Ondrej Lukas created ELY-537:
--------------------------------

             Summary: 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: Darran Lofthouse


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