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

Avoid SCP problems for zero-length files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.14.0
    • 0.14.0, 1.0.0
    • None

    Description

      If a zero-length file is sent/received via SCP then we run the risk of using a zero-length copy buffer size - in which case, the copy loop may run forever. This can also happen if using SCP to copy special files - e.g., /proc/mounts, /dev/xxx which seemingly have zero size, but if opened and read do have content.

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            lgoldstein Lyor Goldstein
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: