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

Message::getProperty() can return result for a property name which is a prefix of the actual name

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23
    • Fix Version/s: 0.29
    • Component/s: C++ Broker
    • Labels:
      None

      Description

      When comparing the lookup name with the actual property names the test only compares the number of characters in the smallest of the strings being compared (instead of ensuring that they have the same number of characters). This means that it will return incorrect property values.

        Attachments

          Activity

            People

            • Assignee:
              astitcher Andrew Stitcher
              Reporter:
              astitcher Andrew Stitcher
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: