(krb5_get_init_creds_password): `in_tkt_service' can be NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8140 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -442,7 +442,8 @@ krb5_get_init_creds_password(krb5_context context,
|
||||
case KRB5KDC_ERR_KEY_EXPIRED :
|
||||
/* try to avoid recursion */
|
||||
|
||||
if (strcmp (in_tkt_service, "kadmin/changepw") == 0)
|
||||
if (in_tkt_service != NULL
|
||||
&& strcmp (in_tkt_service, "kadmin/changepw") == 0)
|
||||
goto out;
|
||||
|
||||
ret = change_password (context,
|
||||
|
Reference in New Issue
Block a user