You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/08/04 15:01:00 UTC

[jira] [Commented] (DISPATCH-1732) segfault when connecting to multitenant listener with policy but no hostname in open

    [ https://issues.apache.org/jira/browse/DISPATCH-1732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17170853#comment-17170853 ] 

ASF subversion and git services commented on DISPATCH-1732:
-----------------------------------------------------------

Commit 8dd77e3e56ba55a3b48dd3bb225fdff7bfd6d2cc in qpid-dispatch's branch refs/heads/dependabot/npm_and_yarn/console/react/patternfly/react-table-4.12.1 from Charles E. Rolke
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=8dd77e3 ]

DISPATCH-1732: Policy multitenant vhost check if Open.hostname is absent

Null hostname causes segfault. Add self test to verify fix.


> segfault when connecting to multitenant listener with policy but  no hostname in open
> -------------------------------------------------------------------------------------
>
>                 Key: DISPATCH-1732
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1732
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Policy Engine
>    Affects Versions: 1.13.0
>            Reporter: Gordon Sim
>            Assignee: Charles E. Rolke
>            Priority: Major
>             Fix For: 1.13.0
>
>
> Start router with following config file and then run qpid-receive against it (which by default does not set a hostname in open).
>  
> {noformat}
> [
>     ["listener", { "host": "0.0.0.0", "port": 5672, "multiTenant": true , "policyVhost": "myhost"}],
>     ["policy", {"enableVhostPolicy": true }],
>     ["vhost", { "hostname": "myhost", "allowUnknownUser": true, "groups":{"$default":{"remoteHosts":"*","sources":"*","targets":"*","allowDynamicSource":true,"allowAnonymousSender":true}}}]
> ] {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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