You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/07/21 19:31:00 UTC

[jira] [Work logged] (SSHD-1032) java.lang.ArrayIndexOutOfBoundsException arraycopy

     [ https://issues.apache.org/jira/browse/SSHD-1032?focusedWorklogId=461722&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-461722 ]

ASF GitHub Bot logged work on SSHD-1032:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 21/Jul/20 19:30
            Start Date: 21/Jul/20 19:30
    Worklog Time Spent: 10m 
      Work Description: gnodet opened a new pull request #147:
URL: https://github.com/apache/mina-sshd/pull/147


   …ncOutputStream


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 461722)
    Remaining Estimate: 0h
            Time Spent: 10m

> java.lang.ArrayIndexOutOfBoundsException arraycopy
> --------------------------------------------------
>
>                 Key: SSHD-1032
>                 URL: https://issues.apache.org/jira/browse/SSHD-1032
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>            Reporter: Evgeny Pasynkov
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When invoking writePacket, I quite often get the following exception:
> {noformat}
> Caused by: java.lang.ArrayIndexOutOfBoundsException arraycopy: last source index 32768 out of bounds for byte[8192] 
> at java.base/java.lang.System.arraycopy(Native Method) 
> at org.apache.sshd.common.util.buffer.ByteArrayBuffer.putRawBytes(ByteArrayBuffer.java:230) 
> at org.apache.sshd.common.channel.ChannelAsyncOutputStream.createSendBuffer(ChannelAsyncOutputStream.java:229) 
> at org.apache.sshd.common.channel.ChannelAsyncOutputStream.doWriteIfPossible(ChannelAsyncOutputStream.java:164) 
> at org.apache.sshd.common.channel.ChannelAsyncOutputStream.writePacket(ChannelAsyncOutputStream.java:70){noformat}
> This never happened in 2.4.0, so it is definitely a regression



--
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