pull up r19976 from trunk
authorTom Yu <tlyu@mit.edu>
Mon, 1 Oct 2007 23:13:31 +0000 (23:13 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 1 Oct 2007 23:13:31 +0000 (23:13 +0000)
commit0c59082c023945c2114e31f847a07ef4c5b31096
tree7f3789fcd49481dca48c20fcbf7bc742c2c24ff1
parent988a6bcb90848bc6f33d6f4ea1276495f6064fac
pull up r19976 from trunk

 r19976@cathode-dark-space:  jaltman | 2007-09-24 23:53:53 -0400
 ticket: new
 subject: NIM: BUG: KMM: miscellaneous fixes
 component: windows

 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: 5773
version_fixed: 1.6.3

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@20049 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