Address strings unable to have empty strings as option values
-------------------------------------------------------------
Key: QPID-3330
URL: https://issues.apache.org/jira/browse/QPID-3330
Project: Qpid
Issue Type: Bug
Components: C++ Client
Affects Versions: 0.10, 0.11
Reporter: Anthony Foglia
Attachments: 0001-Correctly-parse-empty-strings.patch
The Address object can not be constructed from option maps that have empty
strings as values, because of parser errors.
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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]