+2000-02-10 Ken Raeburn <raeburn@mit.edu>
+
+ * login.c (main): Only destroy xtra_creds if non-null. (Patch
+ from Richard Basch.)
+
2000-02-04 Tom Yu <tlyu@mit.edu>
* login.c (main): Reorder some control flow to avoid security hole
com_err(argv[0], retval, "while storing credentials");
}
- krb5_cc_destroy(kcontext, xtra_creds);
+ if (xtra_creds)
+ krb5_cc_destroy(kcontext, xtra_creds);
} else if (forwarded_v5_tickets && rewrite_ccache) {
if ((retval = krb5_cc_initialize (kcontext, ccache, me))) {
syslog(LOG_ERR,