From 72cd1ee3386c496c1800b2d8d72d12ffc88ecadc Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Sat, 13 Apr 1996 03:42:08 +0000 Subject: [PATCH] Destroy any forwarded credentials when we cleanup. (They were stored in an unusual location, so they are not likely to be reused by other sessions.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7810 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/ChangeLog | 12 ++++++++++++ src/appl/bsd/krlogind.c | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index d786903a6..bb3b6d392 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,10 @@ +Fri Apr 12 23:38:25 1996 Richard Basch + + * krlogind.c (cleanup): Destroy any forwarded credentials at the + end of the login session (they were placed in an unusual location + anyway, so the chance that someone will be trying to reuse those + credentials is minimal) + Thu Apr 11 00:22:51 1996 Richard Basch * kcmd.c: Cleaned up whitespace and removed commented & unused cruft @@ -28,6 +35,11 @@ Mon Apr 1 10:12:44 1996 Richard Basch on the variable usage in the code. Also, the tests for Solaris were incorrect. +Fri Mar 29 16:22:18 1996 Richard Basch + + * kcmd.c, krlogin.c, krsh.c, krcp.c: + Allow for a proxy forwarder to be specified + Sat Mar 23 17:20:00 1996 Sam Hartman * krcp.c (des_write): Use krb5_net_write instead of write, because diff --git a/src/appl/bsd/krlogind.c b/src/appl/bsd/krlogind.c index d78ab6fbc..6551192a3 100644 --- a/src/appl/bsd/krlogind.c +++ b/src/appl/bsd/krlogind.c @@ -994,8 +994,10 @@ protocol(f, p) krb5_sigtype cleanup() { -pty_cleanup (line, pid, 1); + pty_cleanup (line, pid, 1); shutdown(netf, 2); + if (ccache) + krb5_cc_destroy(bsd_context, ccache); exit(1); } -- 2.26.2