[jboss-jira] [JBoss JIRA] (SECURITY-648) Files are not being closed properly in some places
Stuart Douglas (JIRA)
jira-events at lists.jboss.org
Sun Mar 4 19:02:36 EST 2012
[ https://issues.jboss.org/browse/SECURITY-648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673432#comment-12673432 ]
Stuart Douglas commented on SECURITY-648:
-----------------------------------------
Also:
org.jboss.security.auth.spi.otp.JBossTimeBasedOTPLoginModule#login
org.picketbox.config.PicketBoxConfiguration#load
> Files are not being closed properly in some places
> ---------------------------------------------------
>
> Key: SECURITY-648
> URL: https://issues.jboss.org/browse/SECURITY-648
> Project: PicketBox (JBoss Security and Identity Management)
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Stuart Douglas
> Assignee: Anil Saldhana
>
> org.picketbox.plugins.vault.PicketBoxSecurityVault#init opens two FileInputStreams and does not appear to close them in a finally block
> org.jboss.security.plugins.TmpFilePassword#toCharArray closes the file but does not use a finally block, so if there is an exception the file can leak
> org.picketbox.util.KeyStoreUtil#getKeyStore also open a FileInputStream and does not close it (in both versions of the function)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list