--- /dev/null
+Fri Jul 15 23:36:50 1994 Theodore Y. Ts'o (tytso at tsx-11)
+
+ * kerberos5.c (kerberos5_is): Avoid coredump caused by freeing of
+ an unitialized variable. Also make sure we don't try to free name
+ if it is NULL.
+
printf("%s\r\n", errbuf);
return;
}
- free(name);
if ((ap->way & AUTH_HOW_MASK) == AUTH_HOW_MUTUAL) {
/* do ap_rep stuff here */
reply.ctime = authdat->authenticator->ctime;
}
auth_finished(ap, AUTH_USER);
- free(name);
+ if (name)
+ free(name);
if (authdat->authenticator->subkey &&
authdat->authenticator->subkey->keytype == KEYTYPE_DES) {
if (session_key.contents)