[
https://issues.apache.org/jira/browse/SSHD-326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florian Schoppmann updated SSHD-326:
------------------------------------
Description: {{DefaultSftpClient#write(String)}} returns an
{{OutputStream}} that has a bug in {{OutputStream#write(byte[],int,int)}}:
Since {{off}} is never updated, anything copied into the buffer is from the
first 32 KiB of the array passed as first argument. (was:
{{DefaultSftpClient#write(String)}} returns an {{OutputStream}} that has a bug
in {{OutputStream#write(byte[],int,int)}}: Since {{off}} is never updated,
anything copied into the buffer is from the first 32 KiB from the array passed
as first argument.)
> DefaultSftpClient#write(String) fails for streams > 32 KiB
> ----------------------------------------------------------
>
> Key: SSHD-326
> URL: https://issues.apache.org/jira/browse/SSHD-326
> Project: MINA SSHD
> Issue Type: Bug
> Reporter: Florian Schoppmann
> Priority: Minor
>
> {{DefaultSftpClient#write(String)}} returns an {{OutputStream}} that has a
> bug in {{OutputStream#write(byte[],int,int)}}: Since {{off}} is never
> updated, anything copied into the buffer is from the first 32 KiB of the
> array passed as first argument.
--
This message was sent by Atlassian JIRA
(v6.2#6252)