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

ASF subversion and git services commented on PROTON-2037:
---------------------------------------------------------

Commit 111a8b12579f40697c8791c193c962db5c69c029 in qpid-proton-j's branch 
refs/heads/master from Ulf Lilleengen
[ https://gitbox.apache.org/repos/asf?p=qpid-proton-j.git;h=111a8b1 ]

PROTON-2037: Ensure array offset is moved forward correctly

* Add test case exposing the sequence of events causing an 
ArrayIndexOutOfBoundsException
* Fix offset movement for getLong and getInt methods
* Add checking of offset to get(int index)


> [PATCH] IndexOutOfBoundException when decoding message using multiple buffers
> -----------------------------------------------------------------------------
>
>                 Key: PROTON-2037
>                 URL: https://issues.apache.org/jira/browse/PROTON-2037
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>    Affects Versions: proton-j-0.32.0
>            Reporter: Ulf Lilleengen
>            Priority: Major
>
> It is possible to trigger an IndexOutOfBoundException when using the 
> CompositeReadableBuffer and invoking some decode methods at array boundaries.
>  
> Patch: https://github.com/apache/qpid-proton-j/pull/32



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to