Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-132

NativeSshFile does not close RandomAccessFile on IOException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.5.0
    • Fix Version/s: 0.7.0
    • Labels:
      None

      Description

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

      Patch is attached

        Attachments

        1. fileHandle.patch
          3 kB
          Michael Stevens

          Issue Links

            Activity

              People

              • Assignee:
                gnt Guillaume Nodet
                Reporter:
                ttreems Michael Stevens
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: