Don't deref NULL pointer with klist -t

This commit is contained in:
Viktor Dukhovni
2013-10-03 20:41:49 -04:00
parent dba64ce7f5
commit c6548bc166

View File

@@ -360,6 +360,7 @@ check_expiration(krb5_context context,
if (ret || t == 0)
return 1;
if (expiration)
*expiration = time(NULL) + t;
return 0;