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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to