[krbdev.mit.edu #5923] SVN Commit
Alexandra Ellwood via RT
rt-comment at krbdev.mit.edu
Fri Mar 21 15:04:48 EDT 2008
CFBundles are refcounted and the recounts are not threadsafe.
Protect CFBundles used for loading bundled plugins with a
mutex to prevent crashes when multiple threads are loading
and unloading the same plugin.
As part of this we use thread-safe dlopen/dlsym/dlclose
for the actual loading and unloading and just use CFBundle
to get the path to the actual executable. This reduces
the number of places we need to wrap CFBundles with mutexes
and the amount of Mac-specific code in the plugin code.
Commit By: lxs
Revision: 20285
Changed Files:
U trunk/src/util/support/plugins.c
More information about the krb5-bugs
mailing list