You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Michael Stevens (JIRA)" <ji...@apache.org> on 2011/05/20 14:20:47 UTC

[jira] [Updated] (SSHD-132) NativeSshFile does not close RandomAccessFile on IOException

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

Michael Stevens updated SSHD-132:
---------------------------------

    Description: 
In truncate, createOutputStream and createInputStream IOExceptions thrown but the RandomAccessFile are not close.
 This causes a file handle leak.

Patch is attached

  was:
In truncate, createOutputStream and createInputStream IOExceptions thrown but the RandomAccessFile are not close.
 This causes a file handel leak.

Patch is attached


> NativeSshFile does not close RandomAccessFile on IOException
> ------------------------------------------------------------
>
>                 Key: SSHD-132
>                 URL: https://issues.apache.org/jira/browse/SSHD-132
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 0.5.0
>            Reporter: Michael Stevens
>         Attachments: fileHandle.patch
>
>
> In truncate, createOutputStream and createInputStream IOExceptions thrown but the RandomAccessFile are not close.
>  This causes a file handle leak.
> Patch is attached

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira