Robbie Gemmell created PROTON-1966:
--------------------------------------

             Summary: 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
             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]

Reply via email to