You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "michael goulish (JIRA)" <ji...@apache.org> on 2019/05/13 19:13:00 UTC

[jira] [Created] (PROTON-2046) pn_connection_set_container should check for null or empty string

michael goulish created PROTON-2046:
---------------------------------------

             Summary: pn_connection_set_container should check for null or empty string
                 Key: PROTON-2046
                 URL: https://issues.apache.org/jira/browse/PROTON-2046
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-c
            Reporter: michael goulish


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.

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org