Initialize local variable in kimpersonate to avoid crash in krb5_free_principal()

This commit is contained in:
Eric Hawicz
2021-11-12 16:38:22 -05:00
committed by Luke Howard
parent 2f31063e97
commit 526317e80e

View File

@@ -214,7 +214,7 @@ create_krb5_tickets(krb5_context context, krb5_keytab kt)
}
if (add_to_ccache) {
krb5_principal def_princ;
krb5_principal def_princ = NULL;
/*
* Force fcache to read the ccache header, otherwise the store