Uploaded image for project: 'ActiveMQ C++ Client'
  1. ActiveMQ C++ Client
  2. AMQCPP-374

BaseDataStreamMarshaller::tightUnmarshalByteArray crashes

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 3.4.1, 3.5.0
    • Component/s: Openwire
    • Labels:
      None
    • Environment:

      VS 2005, Windows Vista, x86

      Description

      This issue is very similar to the one described in AMQCPP-353:

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

      1. AMQCPP-374.patch
        1.0 kB
        Thomas Krammer

        Activity

        Hide
        tkrammer Thomas Krammer added a comment -

        This patch fixes the issue.

        Show
        tkrammer Thomas Krammer added a comment - This patch fixes the issue.
        Hide
        tabish121 Timothy Bish added a comment -

        Patch applied in trunk.

        Show
        tabish121 Timothy Bish added a comment - Patch applied in trunk.

          People

          • Assignee:
            tabish121 Timothy Bish
            Reporter:
            tkrammer Thomas Krammer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development