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.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.7
    • Fix Version/s: 0.7
    • Labels:
      None
    • Environment:

      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.

      1. fix.patch
        16 kB
        Ken Giusti

        Activity

          People

          • Assignee:
            Ken Giusti
            Reporter:
            Ken Giusti
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development