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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • proton-j-0.30.0
    • proton-j-0.31.0
    • proton-j
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: