Skip to content

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 <simo@redhat.com>
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