NIM: BUG: KMM: miscellaneous fixes
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 25 Sep 2007 03:53:53 +0000 (03:53 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 25 Sep 2007 03:53:53 +0000 (03:53 +0000)
commit2f129a4c83f5577404e55670d510a9907794f3f2
tree4bddafe697108595bdad5a9aa02d1373c3ef6285
parentffcdd324f1c2793619ad1cda5f4ac2db43883b72
NIM: BUG: KMM: miscellaneous fixes

kmm_reg.c:
Allocate enough memory to hold the entire PluginList multi-string plus
an extra NUL if the registry value was not properly terminated.

kmm_registrar.c:
Do not record an error loading a module if there was no configuration
for it.

kmmmain.c:
Avoid a race condition by sending the thread quit message instead of
posting it.  Do so outside of the critical section to avoid a deadlock.

ticket: new
component: windows

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19976 dc483132-0cff-0310-8789-dd5450dbe970
src/windows/identity/kmm/kmm_reg.c
src/windows/identity/kmm/kmm_registrar.c
src/windows/identity/kmm/kmmmain.c