qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-1732) segfault when connecting to multitenant listener with policy but no hostname in open
Date Tue, 04 Aug 2020 15:37:00 GMT

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

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-icons-4.5.0
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


Mime
View raw message