From 02162b692a062d196f6b4d0a510661496994650e Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Sat, 10 Aug 1996 09:28:32 +0000 Subject: [PATCH] Unlock source cache before executing command git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8921 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/ksu/ChangeLog | 4 ++++ src/clients/ksu/main.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/src/clients/ksu/ChangeLog b/src/clients/ksu/ChangeLog index 6cc775171..a0ffde807 100644 --- a/src/clients/ksu/ChangeLog +++ b/src/clients/ksu/ChangeLog @@ -1,3 +1,7 @@ +Thu Aug 8 12:31:30 1996 Sam Hartman + + * main.c (main): Close source cache before executing command. + Sat May 25 16:11:55 1996 Sam Hartman * configure.in: Use aname db libs. diff --git a/src/clients/ksu/main.c b/src/clients/ksu/main.c index 70e895b0c..0b28903ce 100644 --- a/src/clients/ksu/main.c +++ b/src/clients/ksu/main.c @@ -809,6 +809,9 @@ krb5_seteuid(0); /*So we have some chance of sweeping up*/ exit(1); } + if ( cc_source) + krb5_cc_close(ksu_context, cc_source); + if (cmd){ if ((source_uid == 0) || (source_uid == target_uid )){ exec_cmd = cmd; -- 2.26.2