Qpid
  1. Qpid
  2. QPID-3030

C++ buffer encoding allows overflow on write.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9
    • Fix Version/s: 0.9
    • Component/s: C++ Broker, C++ Client
    • Labels:
      None
    • Environment:

      Linux

      Description

      The framing Buffer::put

      {Short,Medium,Long}

      String() or Buffer::putRawData() do not validate the length of the written data, and may allow overflow of the buffer.

      1. console.cpp
        5 kB
        Ken Giusti

        Activity

        Justin Ross made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Ken Giusti made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 0.9 [ 12315382 ]
        Resolution Fixed [ 1 ]
        Ken Giusti made changes -
        Field Original Value New Value
        Attachment console.cpp [ 12469939 ]
        Ken Giusti created issue -

          People

          • Assignee:
            Ken Giusti
            Reporter:
            Ken Giusti
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development