Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-2916

C++ broker & Python client will silently truncate strings whose length is greater than the max length supported by the type.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7
    • 0.7
    • None
    • Linux

    Description

      While testing QMF, I attempted to send a string of length > 255 bytes as a str8. Both the broker and the python client will encode the string by either truncating it, or incorrectly truncating the length.

      Attachments

        1. fix.patch
          16 kB
          Ken Giusti

        Activity

          People

            kgiusti Ken Giusti
            kgiusti Ken Giusti
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: