projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9231fa3
)
krb5_fcc_generate_new was destroying a locked mutex in the err_out
author
Greg Hudson
<ghudson@mit.edu>
Mon, 13 Apr 2009 19:29:14 +0000
(19:29 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Mon, 13 Apr 2009 19:29:14 +0000
(19:29 +0000)
label, which is used for I/O failures. Unlock the mutex first.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22200
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/ccache/cc_file.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/ccache/cc_file.c
b/src/lib/krb5/ccache/cc_file.c
index 9b7280b489991748e7184a346f6e5207852a0eea..0494c35526c45ecefbcc201761b2429a1105597d 100644
(file)
--- a/
src/lib/krb5/ccache/cc_file.c
+++ b/
src/lib/krb5/ccache/cc_file.c
@@
-2129,6
+2129,7
@@
krb5_fcc_generate_new (krb5_context context, krb5_ccache *id)
err_out:
k5_cc_mutex_unlock(context, &krb5int_cc_file_mutex);
+ k5_cc_mutex_unlock(context, &data->lock);
k5_cc_mutex_destroy(&data->lock);
free(data->filename);
free(data);