(krb5_copy_creds_contents): zero target
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3945 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -62,6 +62,7 @@ krb5_copy_creds_contents (krb5_context context,
|
|||||||
{
|
{
|
||||||
krb5_error_code ret;
|
krb5_error_code ret;
|
||||||
|
|
||||||
|
memset(c, 0, sizeof(*c));
|
||||||
ret = krb5_copy_principal (context, incred->client, &c->client);
|
ret = krb5_copy_principal (context, incred->client, &c->client);
|
||||||
if (ret)
|
if (ret)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
Reference in New Issue
Block a user