qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gordon Sim (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (QPID-3330) Address strings unable to have empty strings as option values
Date Fri, 01 Jul 2011 09:52:30 GMT

     [ 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

View raw message