You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Matt Fisher (JIRA)" <ji...@apache.org> on 2011/03/01 22:57:36 UTC

[jira] Created: (AMQCPP-353) BaseDataStreamMarshaller::readAsciiString crashes

BaseDataStreamMarshaller::readAsciiString crashes 
--------------------------------------------------

                 Key: AMQCPP-353
                 URL: https://issues.apache.org/jira/browse/AMQCPP-353
             Project: ActiveMQ C++ Client
          Issue Type: Bug
          Components: Openwire
    Affects Versions: 3.2.4
         Environment: Windows 7 Release DLL
            Reporter: Matt Fisher
            Assignee: Timothy Bish


BaseDataStreamMarshaller::readAsciiString() tries to reference the first element of an empty vector, which calls terminate() when _SECURE_SCL = 1 (which is default).

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (AMQCPP-353) BaseDataStreamMarshaller::readAsciiString crashes

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQCPP-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001143#comment-13001143 ] 

Timothy Bish commented on AMQCPP-353:
-------------------------------------

Can you provide a test case that can be used to reproduce this issue.

> BaseDataStreamMarshaller::readAsciiString crashes 
> --------------------------------------------------
>
>                 Key: AMQCPP-353
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-353
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: Openwire
>    Affects Versions: 3.2.4
>         Environment: VS 2008, Windows 7, x86 Release DLL
>            Reporter: Matt Fisher
>            Assignee: Timothy Bish
>
> BaseDataStreamMarshaller::readAsciiString() tries to reference the first element of an empty vector, which calls terminate() when _SECURE_SCL = 1 (which is default).

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (AMQCPP-353) BaseDataStreamMarshaller::readAsciiString crashes

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQCPP-353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish resolved AMQCPP-353.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.3.0

Added what should be a fix, without a test case to confirm it.

> BaseDataStreamMarshaller::readAsciiString crashes 
> --------------------------------------------------
>
>                 Key: AMQCPP-353
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-353
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: Openwire
>    Affects Versions: 3.2.4
>         Environment: VS 2008, Windows 7, x86 Release DLL
>            Reporter: Matt Fisher
>            Assignee: Timothy Bish
>             Fix For: 3.3.0
>
>
> BaseDataStreamMarshaller::readAsciiString() tries to reference the first element of an empty vector, which calls terminate() when _SECURE_SCL = 1 (which is default).

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (AMQCPP-353) BaseDataStreamMarshaller::readAsciiString crashes

Posted by "Matt Fisher (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQCPP-353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Fisher updated AMQCPP-353:
-------------------------------

    Environment: VS 2008, Windows 7, x86 Release DLL  (was: Windows 7 Release DLL)

> BaseDataStreamMarshaller::readAsciiString crashes 
> --------------------------------------------------
>
>                 Key: AMQCPP-353
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-353
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: Openwire
>    Affects Versions: 3.2.4
>         Environment: VS 2008, Windows 7, x86 Release DLL
>            Reporter: Matt Fisher
>            Assignee: Timothy Bish
>
> BaseDataStreamMarshaller::readAsciiString() tries to reference the first element of an empty vector, which calls terminate() when _SECURE_SCL = 1 (which is default).

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira