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

pn_value_dump can access uninitialised memory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • proton-c-0.40.0
    • proton-c
    • None

    Description

      It's a pretty small edge case but if the size of a symbol is 0 then we will currently try to read the first character anyway. If the symbol is at the very end of the bytes being decoded then the byte read is not part of the bytes being decoded.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: