You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ken Giusti (Jira)" <ji...@apache.org> on 2021/11/24 18:46:00 UTC

[jira] [Created] (DISPATCH-2293) Review use of qd_parse()

Ken Giusti created DISPATCH-2293:
------------------------------------

             Summary: Review use of qd_parse()
                 Key: DISPATCH-2293
                 URL: https://issues.apache.org/jira/browse/DISPATCH-2293
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Router Node
    Affects Versions: 1.18.0
            Reporter: Ken Giusti


Review the use of qd_parse() to ensure callers _always_ verify the return value before using it.

qd_parse() is used to parse amqp messages.  Since these messages are coming from an external entity all callers must check that there were no parse errors.

 

Use qd_parse_ok(return_value) to verify the return value.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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