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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-j-0.30.0, proton-j-0.31.0, proton-j-0.32.0, proton-j-0.33.0
    • proton-j-0.33.1
    • proton-j
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: