Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
proton-j-0.30.0
-
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).