(add_cred): add termination NULL pointer

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5190 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1998-11-07 16:55:35 +00:00
parent 5947bd4f12
commit cad841807e

View File

@@ -483,6 +483,7 @@ add_cred(krb5_context context, krb5_creds ***tgts, krb5_creds *tkt)
return ENOMEM;
*tgts = tmp;
ret = krb5_copy_creds(context, tkt, &tmp[i]);
tmp[i+1] = NULL;
return ret;
}