Skip to content

Commit

Permalink
Fix make_signedpath_checksum() initialization bug
Browse files Browse the repository at this point in the history
data needs to be initialized since it is freed in the cleanup handler.
The bug was introduced by 0c6498b and
is not part of any release.

ticket: 8139
  • Loading branch information
greghudson committed Jun 15, 2015
1 parent 1f2060e commit 73efbee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kdc/kdc_authdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ make_signedpath_checksum(krb5_context context,
krb5_enctype *enctype_out)
{
krb5_error_code ret;
krb5_data *data;
krb5_data *data = NULL;
krb5_const_principal client;
krb5_key_data *kd;
krb5_keyblock tgtkey;
Expand Down

0 comments on commit 73efbee

Please sign in to comment.