You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Albert Strasheim (JIRA)" <ji...@apache.org> on 2007/05/24 19:00:38 UTC
[jira] Created: (AMQCPP-117) ActiveMQBytesMessage::getBodyBytes
crashes if body length is zero
ActiveMQBytesMessage::getBodyBytes crashes if body length is zero
-----------------------------------------------------------------
Key: AMQCPP-117
URL: https://issues.apache.org/activemq/browse/AMQCPP-117
Project: ActiveMQ C++ Client
Issue Type: Improvement
Components: Openwire
Affects Versions: 2.1
Reporter: Albert Strasheim
Assigned To: Nathan Mittler
Attachments: zerolenbodybytes.diff
On Windows with a Debug build, ActiveMQBytesMessage::getBodyBytes crashes when called if body length is zero.
The following friendly error pops up:
---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!
Program: C:\Python24\python.exe
File: C:\Program Files\Microsoft Visual Studio 8\VC\include\vector
Line: 741
Expression: vector subscript out of range
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
---------------------------
Abort Retry Ignore
---------------------------
Proposed patch attached (check for length greater than zero, if not return NULL0.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (AMQCPP-117) ActiveMQBytesMessage::getBodyBytes
crashes if body length is zero
Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQCPP-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish resolved AMQCPP-117.
---------------------------------
Resolution: Fixed
Fixed in trunk
> ActiveMQBytesMessage::getBodyBytes crashes if body length is zero
> -----------------------------------------------------------------
>
> Key: AMQCPP-117
> URL: https://issues.apache.org/activemq/browse/AMQCPP-117
> Project: ActiveMQ C++ Client
> Issue Type: Improvement
> Components: Openwire
> Affects Versions: 2.1
> Reporter: Albert Strasheim
> Assigned To: Timothy Bish
> Attachments: zerolenbodybytes.diff
>
>
> On Windows with a Debug build, ActiveMQBytesMessage::getBodyBytes crashes when called if body length is zero.
> The following friendly error pops up:
> ---------------------------
> Microsoft Visual C++ Debug Library
> ---------------------------
> Debug Assertion Failed!
> Program: C:\Python24\python.exe
> File: C:\Program Files\Microsoft Visual Studio 8\VC\include\vector
> Line: 741
> Expression: vector subscript out of range
> For information on how your program can cause an assertion
> failure, see the Visual C++ documentation on asserts.
> (Press Retry to debug the application)
> ---------------------------
> Abort Retry Ignore
> ---------------------------
> Proposed patch attached (check for length greater than zero, if not return NULL0.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (AMQCPP-117) ActiveMQBytesMessage::getBodyBytes
crashes if body length is zero
Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQCPP-117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish reassigned AMQCPP-117:
-----------------------------------
Assignee: Timothy Bish (was: Nathan Mittler)
> ActiveMQBytesMessage::getBodyBytes crashes if body length is zero
> -----------------------------------------------------------------
>
> Key: AMQCPP-117
> URL: https://issues.apache.org/activemq/browse/AMQCPP-117
> Project: ActiveMQ C++ Client
> Issue Type: Improvement
> Components: Openwire
> Affects Versions: 2.1
> Reporter: Albert Strasheim
> Assigned To: Timothy Bish
> Attachments: zerolenbodybytes.diff
>
>
> On Windows with a Debug build, ActiveMQBytesMessage::getBodyBytes crashes when called if body length is zero.
> The following friendly error pops up:
> ---------------------------
> Microsoft Visual C++ Debug Library
> ---------------------------
> Debug Assertion Failed!
> Program: C:\Python24\python.exe
> File: C:\Program Files\Microsoft Visual Studio 8\VC\include\vector
> Line: 741
> Expression: vector subscript out of range
> For information on how your program can cause an assertion
> failure, see the Visual C++ documentation on asserts.
> (Press Retry to debug the application)
> ---------------------------
> Abort Retry Ignore
> ---------------------------
> Proposed patch attached (check for length greater than zero, if not return NULL0.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.