Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-611

[proton-c] transport buffer increased to peer's max frame size if initial output_size is not enough

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-0.7
    • proton-0.8
    • proton-c
    • None

    Description

      transport_produce attempts to allocate a negatively sized buffer

      As soon as remote_max_frame is set, the code in transport_produce attempts to increase its buffer immediately up to that size when its initial size isn't enough. This causes a huge malloc to occur if the remote max frame size is large and also potentially overflows MAX_INT

      Attachments

        Activity

          People

            astitcher Andrew Stitcher
            dnwe Dominic Evans
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: