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

If Proton receives a frame with an unexpected performative number it will SEGV

    XMLWordPrintableJSON

Details

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

    Description

      The processing for incoming frames dispatches based in the integer number of the performative. To do this it uses a table which is initially zero filled.

      On initialising a connection it fills out the table entries for performatives that it can handle, but leaves the others zero.

      On an incoming frame it will call the routine in the table entry without checking if it is zero. So if it gets an unrecognised performative integer it will call through a zero pointer causing a SEGV.

      Attachments

        Activity

          People

            astitcher Andrew Stitcher
            astitcher Andrew Stitcher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: