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

Guillaume Nodet resolved SSHD-375.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 0.14.0
         Assignee: Guillaume Nodet

> Buffer.MAX_LEN and DefaultSftpClient#write() don't play well together
> ---------------------------------------------------------------------
>
>                 Key: SSHD-375
>                 URL: https://issues.apache.org/jira/browse/SSHD-375
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 0.13.0
>            Reporter: Doug Tucker
>            Assignee: Guillaume Nodet
>             Fix For: 0.14.0
>
>         Attachments: 
> 0001-SSHD-375-implement-internal-chunking-in-DefaultSftpC.patch
>
>
> if you make a call to the write() method with a number bigger than 
> Buffer.MAX_LEN, Buffer.getBytes() will throw an IllegalStateException. 
> TO DO: investigate further usages of Buffer#getString and Buffer#getBytes and 
> see if any of this bug manifests itself elsewhere and, if so, do we want to 
> migrate the "chunking" logic within Buffer?



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

Reply via email to