pull up r20555 from trunk
authorTom Yu <tlyu@mit.edu>
Mon, 21 Jul 2008 22:59:01 +0000 (22:59 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 21 Jul 2008 22:59:01 +0000 (22:59 +0000)
commit34ace70b72eb8a8bbb7f32f41522d886d30c46c1
treeaad22c179c716f71ee6a0a28ffe8fe7fbd1906d6
parenteb86ef0d3cf4484e42280c54a770175f71af1c80
pull up r20555 from trunk

 r20555@cathode-dark-space:  jaltman | 2008-07-21 15:43:21 -0400
 ticket: 5895
 tags: pullup

 There are two mutex locking issues that Roland Dowdeswell noticed in
 the memory ccache.  The first one is in cc_memory.c:krb5_mcc_initialize().
 When it is free(3)ing the existing credentials it does not lock the
 data structures and hence two separate threads can run into issues.

 The same problem exists in cc_memory.c:krb5_mcc_destroy().

ticket: 5895
status: resolved
version_fixed: 1.6.4

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@20562 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/ccache/cc_memory.c