[
https://issues.apache.org/jira/browse/PROTON-1966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robbie Gemmell resolved PROTON-1966.
------------------------------------
Resolution: Fixed
> CompositeReadableBuffer#equals() can affect position for some content
> mismatches
> --------------------------------------------------------------------------------
>
> Key: PROTON-1966
> URL: https://issues.apache.org/jira/browse/PROTON-1966
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-j
> Affects Versions: proton-j-0.30.0
> Reporter: Robbie Gemmell
> Assignee: Robbie Gemmell
> Priority: Major
> Fix For: proton-j-0.31.0
>
>
> CompositeReadableBuffer#equals() can affect position for some content
> mismatches. If the given ReadableBuffer has the same remaining content length
> as the buffer being operated on but differs within their content, the equals
> call can have side effect on the position.
> Credit to Francesco Nigro for spotting this (in his PR for PROTON-1965).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]