Zero out_creds
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2938 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -64,7 +64,7 @@ krb5_get_forwarded_creds (krb5_context context,
|
||||
krb5_data enc_data;
|
||||
int32_t sec, usec;
|
||||
|
||||
out_creds = malloc(sizeof(*out_creds));
|
||||
out_creds = calloc(1, sizeof(*out_creds));
|
||||
if (out_creds == NULL)
|
||||
return ENOMEM;
|
||||
|
||||
|
Reference in New Issue
Block a user