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

Address strings unable to have empty strings as option values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10, 0.11
    • 0.13
    • C++ Client
    • None

    Description

      The Address object can not be constructed from option maps that have empty strings as values, because of parser errors. (e.g. Address("inbound;

      { key: '' }

      ").)

      The issue is in AddressParser::readString. Going into it, current points to the delimiter. The readChar call moves current up to one past the delimiter. Then definition of start as current++ moves it one further, which is past the closing delimiter of an empty string.

      Attachments

        Activity

          People

            gsim Gordon Sim
            afoglia Anthony Foglia
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: