MINA SSHD
  1. MINA SSHD
  2. SSHD-132

NativeSshFile does not close RandomAccessFile on IOException

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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

      1. fileHandle.patch
        3 kB
        Michael Stevens

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development