[
https://issues.apache.org/jira/browse/DISPATCH-1732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17170933#comment-17170933
]
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/patternfly-4.23.3
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: [email protected]
For additional commands, e-mail: [email protected]