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

small/array8 byte array encodes incorrectly due to element count omission

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: proton-j-0.30.0, proton-j-0.31.0, proton-j-0.32.0, proton-j-0.33.0
    • Fix Version/s: proton-j-0.33.1
    • Component/s: proton-j
    • Labels:
      None

      Description

      While encoding a small/array8 byte array of <=253 elements, the encoder erroneously omits the element count, leading to a broken encoding (those with >=128 elements will fail to encode at all, due to PROTON-2057) that can lead to a decode failure.

      This was introduced during proton-j 0.30.0 changes for PROTON-1941.

        Attachments

          Issue Links

            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: