[
https://issues.apache.org/activemq/browse/AMQCPP-320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zach DeLuca updated AMQCPP-320:
-------------------------------
Description: The documentation of getBodyBytes() for ActiveMQBytesMessage
states "Gets the bytes that are contained in this message, *user should copy
this data into a user allocated buffer*." However, the implementation allocates
and returns a pointer to a new buffer. (was: The documentation for
ActiveMQBytesMessage states "Gets the bytes that are contained in this message,
*user should copy this data into a user allocated buffer*." However, the
implementation allocates and returns a pointer to a new buffer.)
> Memory leak or inconsistent documentation
> -----------------------------------------
>
> Key: AMQCPP-320
> URL: https://issues.apache.org/activemq/browse/AMQCPP-320
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: CMS Impl
> Affects Versions: 3.1, 3.1.1, 3.1.2, 3.1.3, 3.2.0, 3.2.1, 3.2.2, 3.2.3
> Reporter: Zach DeLuca
> Assignee: Timothy Bish
> Priority: Minor
>
> The documentation of getBodyBytes() for ActiveMQBytesMessage states "Gets the
> bytes that are contained in this message, *user should copy this data into a
> user allocated buffer*." However, the implementation allocates and returns a
> pointer to a new buffer.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.