set ret_creds to NULL before doing anything else, from Jacques Vidrine
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9794 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -50,6 +50,8 @@ krb5_rd_cred(krb5_context context,
|
||||
krb5_crypto crypto;
|
||||
int i;
|
||||
|
||||
*ret_creds = NULL;
|
||||
|
||||
ret = decode_KRB_CRED(in_data->data, in_data->length,
|
||||
&cred, &len);
|
||||
if(ret)
|
||||
|
Reference in New Issue
Block a user