There are two mutex locking issues that Roland Dowdeswell noticed in
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 21 Jul 2008 19:43:21 +0000 (19:43 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 21 Jul 2008 19:43:21 +0000 (19:43 +0000)
commit32fd43e43fadbd38050b8049f1fd949af7a57cc1
tree12db90f7d06e71813c93ee8786de9dbfcaab8ec4
parent6e336c77f6d2a7a53b51c2bd4dec0b9938d3b701
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
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20555 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/ccache/cc_memory.c