qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Giusti (JIRA)" <j...@apache.org>
Subject [jira] Updated: (QPID-2916) C++ broker & Python client will silently truncate strings whose length is greater than the max length supported by the type.
Date Thu, 28 Oct 2010 15:26:25 GMT

     [ https://issues.apache.org/jira/browse/QPID-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ken Giusti updated QPID-2916:
-----------------------------

    Attachment: fix.patch

Proposed patch.  Will throw an exception if a value cannot be encoded as its given type.

> C++ broker & Python client will silently truncate strings whose length is greater
than the max length supported by the type.
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-2916
>                 URL: https://issues.apache.org/jira/browse/QPID-2916
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker, C++ Client, Python Client
>    Affects Versions: 0.7
>         Environment: Linux
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>         Attachments: fix.patch
>
>
> While testing QMF, I attempted to send a string of length > 255 bytes as a str8. 
Both the broker and the python client will encode the string by either truncating it, or incorrectly
truncating the length.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message