[krbdev.mit.edu #7340] SVN Commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Wed Aug 29 19:17:44 EDT 2012


Fix KfW thread-local storage allocation issues

Allocate thread-local storage on demand; don't rely on
the DLL_THREAD_ATTACH case in DllMain() since pre-existing
threads will never execute that code.

Signed-off-by: Kevin Wasserman <kevin.wasserman at painless-security.com>

(cherry picked from commit a4418f619be053c7429e307f78d9694b2f798c65)

https://github.com/krb5/krb5/commit/3a94b5c9367730554eccd14047df5be2d307f14c
Author: Kevin Wasserman <kevin.wasserman at painless-security.com>
Committer: Tom Yu <tlyu at mit.edu>
Commit: 3a94b5c9367730554eccd14047df5be2d307f14c
Branch: krb5-1.10
 src/ccapi/common/win/tls.c    |    8 +++++++-
 src/ccapi/lib/win/dllmain.cxx |   27 ++++++++++++++++-----------
 2 files changed, 23 insertions(+), 12 deletions(-)



More information about the krb5-bugs mailing list