[
https://issues.apache.org/jira/browse/DISPATCH-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16510093#comment-16510093
]
Fernando Giorgetti commented on DISPATCH-1026:
----------------------------------------------
Just some additional information.
The router is crashing as code executes the "assert(false)" in the last else
statement of _qd_policy_approve_link_name_tree within src/policy.c.
> 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
> Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]