Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Guard against NULL remote credentials #68

Merged
merged 1 commit into from
Dec 8, 2022
Merged

Conversation

simo5
Copy link
Contributor

@simo5 simo5 commented Oct 13, 2022

In some rare cases is may happen that we fail to init cred_handle->remote, in this case we need to guard xdr_free() because this function does not handle NULL pointers gracefully like free() does.

Fixes #67

In some rare cases is may happen that we fail to init
cred_handle->remote, in this case we need to guard xdr_free() because
this function does not handle NULL pointers gracefully like free() does.

Signed-off-by: Simo Sorce <[email protected]>
gnomesysadmins pushed a commit to GNOME/gnome-build-meta that referenced this pull request Oct 13, 2022
@simo5
Copy link
Contributor Author

simo5 commented Dec 8, 2022

Just merging this, it won'rt harm anything and can help.

@simo5 simo5 merged commit 27c5907 into gssapi:main Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash in gssrpc_xdr_free()
1 participant