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

[SASL] pn_sasl_config_name - name gets overwritten in python binding

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: proton-0.10
    • Fix Version/s: proton-0.10
    • Component/s: proton-c, python-binding
    • Labels:
      None

      Description

      When setting the SASL configuration name from python, a pointer to a temporary string is passed to pn_sasl_config_name() by the python environment. When the environment no longer references that string, the memory is freed, leaving the sasl internal object referencing freed memory.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: