(set_auth_data): set pointer to NULL after free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14145 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -108,6 +108,7 @@ set_auth_data (krb5_context context,
|
||||
if (ret) {
|
||||
free (buf);
|
||||
free (req_body->enc_authorization_data);
|
||||
req_body->enc_authorization_data = NULL;
|
||||
return ret;
|
||||
}
|
||||
krb5_encrypt_EncryptedData(context,
|
||||
|
Reference in New Issue
Block a user