You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Goldstein Lyor (JIRA)" <ji...@apache.org> on 2015/02/22 11:05:11 UTC

[jira] [Created] (SSHD-412) Avoid SCP problems for zero-length files

Goldstein Lyor created SSHD-412:
-----------------------------------

             Summary: Avoid SCP problems for zero-length files
                 Key: SSHD-412
                 URL: https://issues.apache.org/jira/browse/SSHD-412
             Project: MINA SSHD
          Issue Type: Bug
    Affects Versions: 0.14.0
            Reporter: Goldstein Lyor


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 an read do have content.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)