You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (JIRA)" <ji...@apache.org> on 2011/07/01 11:52:30 UTC
[jira] [Assigned] (QPID-3330) Address strings unable to have empty
strings as option values
[ https://issues.apache.org/jira/browse/QPID-3330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gordon Sim reassigned QPID-3330:
--------------------------------
Assignee: Gordon Sim
> 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
> Assignee: Gordon Sim
> 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. (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.
--
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:dev-subscribe@qpid.apache.org