+Mon Nov 24 19:57:48 1997 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * do_tgs_req.c (process_tgs_req): Add check to make sure cname and
+ sname are non-NULL when syslogging an error because the
+ principals don't match.
+
+ * kdc_util.c (limit_string): Check to make sure the input string
+ is non-NULL before operating on it.
+
Thu Nov 13 20:40:01 1997 Theodore Y. Ts'o <tytso@mit.edu>
* do_tgs_req.c (process_tgs_req): Only try to return a TGT for a
&tmp)))
tmp = 0;
krb5_klog_syslog(LOG_INFO, "TGS_REQ %s(%d): 2ND_TKT_MISMATCH: authtime %d, %s for %s, 2nd tkt client %s",
- fromstring, portnum, authtime, cname, sname,
+ fromstring, portnum, authtime,
+ cname ? cname : "<unknown client>",
+ sname ? sname : "<unknown server>",
tmp ? tmp : "<unknown>");
goto cleanup;
}