projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e70c58d
)
Set auth_context's rcache to NULL after destroying and before calling
author
Tom Yu
<tlyu@mit.edu>
Wed, 31 Dec 2008 17:25:25 +0000
(17:25 +0000)
committer
Tom Yu
<tlyu@mit.edu>
Wed, 31 Dec 2008 17:25:25 +0000
(17:25 +0000)
krb5_auth_con_free, to avoid crashing when krb5_rc_close tries to run
using a destroyed rcache handle.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21644
dc483132
-0cff-0310-8789-
dd5450dbe970
src/appl/simple/client/sim_client.c
patch
|
blob
|
history
diff --git
a/src/appl/simple/client/sim_client.c
b/src/appl/simple/client/sim_client.c
index 4332018ad948e31f314826c0b1b38d0b3ddb0a40..4873f89af84f1d4ad80f2f7bdb940a5843942375 100644
(file)
--- a/
src/appl/simple/client/sim_client.c
+++ b/
src/appl/simple/client/sim_client.c
@@
-330,7
+330,7
@@
main(argc, argv)
com_err(progname, retval, "while deleting replay cache");
exit(1);
}
-
+ krb5_auth_con_setrcache(context, auth_context, NULL);
krb5_auth_con_free(context, auth_context);
krb5_free_context(context);