svn rev #22200: trunk/src/lib/krb5/ccache/

ghudson@MIT.EDU ghudson at MIT.EDU
Mon Apr 13 15:29:14 EDT 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=22200
Commit By: ghudson
Log Message:
krb5_fcc_generate_new was destroying a locked mutex in the err_out
label, which is used for I/O failures.  Unlock the mutex first.



Changed Files:
U   trunk/src/lib/krb5/ccache/cc_file.c
Modified: trunk/src/lib/krb5/ccache/cc_file.c
===================================================================
--- trunk/src/lib/krb5/ccache/cc_file.c	2009-04-13 18:43:29 UTC (rev 22199)
+++ trunk/src/lib/krb5/ccache/cc_file.c	2009-04-13 19:29:14 UTC (rev 22200)
@@ -2129,6 +2129,7 @@
 
 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);




More information about the cvs-krb5 mailing list