You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Darryl L. Pierce (JIRA)" <ji...@apache.org> on 2012/12/18 20:10:13 UTC
[jira] [Resolved] (QPID-4416) perl binding for getContentPtr fails
on payloads containing NULL
[ https://issues.apache.org/jira/browse/QPID-4416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Darryl L. Pierce resolved QPID-4416.
------------------------------------
Resolution: Fixed
Fix Version/s: 0.21
Wrote a test to verify the fix. Will include the test in the upcoming unit test suite for Perl.
> perl binding for getContentPtr fails on payloads containing NULL
> ----------------------------------------------------------------
>
> Key: QPID-4416
> URL: https://issues.apache.org/jira/browse/QPID-4416
> Project: Qpid
> Issue Type: Bug
> Affects Versions: 0.18
> Reporter: Jimmy Jones
> Assignee: Darryl L. Pierce
> Fix For: 0.21
>
> Attachments: getcontentptr.diff
>
>
> getContentPtr uses SWIG_FromCharPtr, however this uses strlen internally, so assumes the payload doesn't contain NULL - SWIG_FromCharPtrAndSize should be used instead.
--
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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org