You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "David Ostrovsky (Jira)" <ji...@apache.org> on 2020/07/01 13:24:00 UTC

[jira] [Comment Edited] (SSHD-1022) NPE in SftpOutputStreamAsync.flush()

    [ https://issues.apache.org/jira/browse/SSHD-1022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17149433#comment-17149433 ] 

David Ostrovsky edited comment on SSHD-1022 at 7/1/20, 1:23 PM:
----------------------------------------------------------------

Thanks for the quick patch release 2.5.1.

In Gerrit Code Review project we are waiting for new release to replace JCraft JSch library with SSHD client.


was (Author: davido2):
Thanks for the quick patch release 2.5.1.

 

In Gerrit Code Review project we are waiting for new release to replace JCraft JSch library with SSHD client.

> NPE in SftpOutputStreamAsync.flush() 
> -------------------------------------
>
>                 Key: SSHD-1022
>                 URL: https://issues.apache.org/jira/browse/SSHD-1022
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>            Reporter: Thomas Wolf
>            Assignee: Lyor Goldstein
>            Priority: Major
>             Fix For: 2.5.1
>
>
> {{SftpOutputStreamAsync.flush()}} sets the internal buffer to {{null}}. Code invoking {{flush()}} without having written anything since the last flush will get an NPE.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org