Skip to content

Prevent NULL pointer dereference if kadm5_init_with_creds fails #41

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

Merged
merged 1 commit into from
Aug 6, 2015
Merged

Prevent NULL pointer dereference if kadm5_init_with_creds fails #41

merged 1 commit into from
Aug 6, 2015

Conversation

michaelweiser
Copy link
Contributor

If kadm5_init_with_ccreds failed, the pointer to the kadmin Python object would
be set to NULL but cleanup would still try to use kadmin->context when freeing
princ and closing the ccache.

If kadm5_init_with_ccreds failed, the pointer to the kadmin Python object would
be set to NULL but cleanup would still try to use kadmin->context when freeing
princ and closing the ccache.
rjancewicz added a commit that referenced this pull request Aug 6, 2015
Prevent NULL pointer dereference if kadm5_init_with_creds fails
@rjancewicz rjancewicz merged commit 18054ac into rjancewicz:master Aug 6, 2015
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.

2 participants