[
https://issues.apache.org/jira/browse/QPID-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jimmy Jones updated QPID-4480:
------------------------------
Attachment: null-in-string-inside-map.patch
Attached a fix. Tested on RHEL6.
> If amqp/map contains a string containing a null, perl bindings will truncate
> it when encoding
> ---------------------------------------------------------------------------------------------
>
> Key: QPID-4480
> URL: https://issues.apache.org/jira/browse/QPID-4480
> Project: Qpid
> Issue Type: Bug
> Affects Versions: 0.18
> Environment: RHEL6
> Reporter: Jimmy Jones
> Attachments: null-in-string-inside-map.patch
>
>
> The following code doesn't work as expected, the name element is truncated at
> the null byte.
> my $hash = { id => 1234, name => "Blah\x00Blah" };
> cqpid_perl::encode($hash, $outmsg);
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]