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

pn_connection_set_container should check for null or empty string

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • proton-c
    • None

    Description

      pn_connection_set_container() makes no checks of the ID string that gets passed in. This value is expected to be unique, so it should probably check for NULL and empty-string.

      I was passing in empty strings and it was cheerfully accepting them.

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            mgoulish Michael Goulish
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: