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

NativeSshFile does not close RandomAccessFile on IOException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.5.0
    • 0.7.0
    • 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

              gnodet Guillaume Nodet
              ttreems Michael Stevens
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: