[ https://issues.apache.org/jira/browse/QPID-4480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13506652#comment-13506652 ]
Darryl L. Pierce commented on QPID-4480: ---------------------------------------- Excellent! This is now committed. > 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 > Assignee: Darryl L. Pierce > Fix For: 0.20 > > Attachments: hello_world2.pl, 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: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org