You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Fernando Giorgetti (JIRA)" <ji...@apache.org> on 2018/06/07 22:59:00 UTC

[jira] [Created] (DISPATCH-1026) Router crashing when using sourcePattern/targetPattern with multiple patterns and one of them being user token when trying to open an unauthorized address

Fernando Giorgetti created DISPATCH-1026:
--------------------------------------------

             Summary: Router crashing when using sourcePattern/targetPattern with multiple patterns and one of them being user token when trying to open an unauthorized address
                 Key: DISPATCH-1026
                 URL: https://issues.apache.org/jira/browse/DISPATCH-1026
             Project: Qpid Dispatch
          Issue Type: Bug
            Reporter: Fernando Giorgetti


When you define a vhost policy with a targetPattern or a sourcePattern using multiple addresses and one of them being the ${user} (user token), and if you try to connect to an unauthorized address, the router crashes.

Example:

targetPattern: queue/${user}, sample, address

 

If you try to connect a sender to an address, like, "notauthorized" then the router crashes with:

qdrouterd: /tmp/qpid-dispatch/src/policy.c:848: _qd_policy_approve_link_name_tree: Assertion `0' failed.
Aborted (core dumped)



--
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