Skip to content
Snippets Groups Projects
Commit fa38f9ca authored by Michael Weiser's avatar Michael Weiser
Browse files

Prevent NULL pointer dereference if kadm5_init_with_creds fails

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.
parent c749f1e8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment