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

ASF subversion and git services commented on PROTON-2443:
---------------------------------------------------------

Commit 7ba9ef7d446a6f3d6fcce12e854d09b4bd672db9 in qpid-proton's branch 
refs/heads/main from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=7ba9ef7 ]

PROTON-2443: Workaround bug in cyrus sasl EXTERNAL mechanism

The mechanism plugin assumes that the initial iresponse data is zero
terminated. But this is not required by the protocol or by the API used
by cyrus sasl.


> Workaround bug in cyrus-sasl that expects zero terminated clientid in 
> EXTERNAL mechanism
> ----------------------------------------------------------------------------------------
>
>                 Key: PROTON-2443
>                 URL: https://issues.apache.org/jira/browse/PROTON-2443
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>            Priority: Major
>
> AMQP SASL init frame contains client response data that is the requested user 
> and is passed to cyrus sasl with the {{sasl_server_start()}} call. There 
> should be no need for zero termination of this string as the length is passed 
> in to the API.
> Reported to cyrus sasl: https://github.com/cyrusimap/cyrus-sasl/issues/689



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

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

Reply via email to