Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

sigsegv on gss_sec_ctx.c:643 #83

Closed
SergeyPachkov opened this issue Dec 23, 2022 · 2 comments · Fixed by #84
Closed

sigsegv on gss_sec_ctx.c:643 #83

SergeyPachkov opened this issue Dec 23, 2022 · 2 comments · Fixed by #84

Comments

@SergeyPachkov
Copy link

Hello

I received SIGSEGV on https://github.com/gssapi/gss-ntlmssp/blame/main/src/gss_sec_ctx.c#L643
cred == nullptr in case of acceptor_cred_handle is null

example call in dcerpc: https://github.com/dcerpc/dcerpc/blob/master/dcerpc/ncklib/gssauthcn.c#L2463
or in more "fresh" apple's code: https://github.com/apple-oss-distributions/dcerpc/blob/main/dcerpc/ncklib/gssauthcn.c#L2458

Could you fix crash?

@simo5
Copy link
Collaborator

simo5 commented Dec 24, 2022

Please check if #84 fixes it for you

@SergeyPachkov
Copy link
Author

Yes, it works for me

@simo5 simo5 closed this as completed in #84 Dec 25, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants