ActiveMQ C++ Client
  1. ActiveMQ C++ Client
  2. AMQCPP-374

BaseDataStreamMarshaller::tightUnmarshalByteArray crashes

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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
        Thomas Krammer added a comment -

        This patch fixes the issue.

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

        Patch applied in trunk.

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development