StreamMessage can throw BufferOverflowException when writing to a received 
message after clearing
-------------------------------------------------------------------------------------------------

                 Key: QPID-175
                 URL: http://issues.apache.org/jira/browse/QPID-175
             Project: Qpid
          Issue Type: Bug
            Reporter: Robert Greig
         Assigned To: Robert Greig


If you call clearBody on a received StreamMessage, and then attempt to write 
data to that message that is larger than the original payload, you get a 
BufferOverFlowException. This is because the underlying buffer is allocated 
with autoexpand set to false on receipt of a message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to