[ 
https://issues.apache.org/jira/browse/SSHD-412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet resolved SSHD-412.
----------------------------------
    Resolution: Fixed
      Assignee: Guillaume Nodet

https://git-wip-us.apache.org/repos/asf?p=mina-sshd.git;a=commitdiff;h=45feb537af4103b1eb79be28eb9be9a32e0fa847

https://git-wip-us.apache.org/repos/asf?p=mina-sshd.git;a=commitdiff;h=3ae206314e6f2bbf86f7b09cd88447d1df33678b


> 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
>            Assignee: Guillaume Nodet
>             Fix For: 1.0.0, 0.14.0
>
>         Attachments: 
> 0019-SSHD-412-Avoid-SCP-problems-for-zero-length-files.patch
>
>
> 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.



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

Reply via email to