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/12 19:46:00 UTC

[jira] [Commented] (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

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