[
https://issues.apache.org/jira/browse/PROTON-2037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16829415#comment-16829415
]
ASF GitHub Bot commented on PROTON-2037:
----------------------------------------
tabish121 commented on issue #32: PROTON-2037: Ensure array offset is moved
forward correctly
URL: https://github.com/apache/qpid-proton-j/pull/32#issuecomment-487644754
Pushed a modified version of the fix with removal of the checks in the
get(index) method as the state of the buffer is meant always be on a valid
position or be at end so this would be an performance hit in the codec.
----------------------------------------------------------------
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:
[email protected]
> [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]