[jboss-jira] [JBoss JIRA] (ELY-283) Investigate Elytron and gssproxy interoperability

Jan Kalina (JIRA) issues at jboss.org
Wed Dec 20 09:57:00 EST 2017


    [ https://issues.jboss.org/browse/ELY-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507497#comment-13507497 ] 

Jan Kalina commented on ELY-283:
--------------------------------

OK, I has found the problem: the SIGSEGV in cfree occures when variable *minor* passed into the *gss_accept_sec_context* is not initialized to zero!
After following modification acceptContext call finish successfully:
{code}
-  OM_uint32 minor, major;
+  OM_uint32 minor = 0, major;
{code}
As the *minor_status* parameter is defined as output, I suppose this is bug of kerberos library and zero initialization of minor should not be required.

> Investigate Elytron and gssproxy interoperability
> -------------------------------------------------
>
>                 Key: ELY-283
>                 URL: https://issues.jboss.org/browse/ELY-283
>             Project: WildFly Elytron
>          Issue Type: Task
>          Components: SASL
>            Reporter: Peter Skopek
>            Assignee: Jan Kalina
>             Fix For: 2.0.0.Alpha1
>
>         Attachments: openjdk-patch-native-mechs.patch
>
>
> Investigate Elytron and gssproxy interoperability.
> https://fedorahosted.org/gss-proxy/



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list