Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1966

CompositeReadableBuffer#equals() can affect position for some content mismatches

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: proton-j-0.30.0
    • Fix Version/s: proton-j-0.31.0
    • Component/s: proton-j
    • Labels:
      None

      Description

      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).

        Attachments

          Activity

            People

            • Assignee:
              robbie Robbie Gemmell
              Reporter:
              robbie Robbie Gemmell
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: