You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2018/11/20 11:23:00 UTC

[jira] [Resolved] (PROTON-1966) CompositeReadableBuffer#equals() can affect position for some content mismatches

     [ 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org