windows thread support frees thread local storage after TlsSetValue
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 21 Sep 2006 02:43:12 +0000 (02:43 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 21 Sep 2006 02:43:12 +0000 (02:43 +0000)
commite83127dee8e6994904b85f7b8b3a30b6238fec7c
treef643fcdbbf6fb6eeaf5d6202786e99ca28e73f9a
parent25860eac35980ab0d8d786fe1d06ced26a04d2db
windows thread support frees thread local storage after TlsSetValue

  threads.c: The return value of TlsSetValue is non-zero on
                   success.  As a result of misinterpreting the
                   return value, the memory set in TLS is then freed.
   A subsequent call to TlsGetValue returns the
   invalid pointer.

ticket: new
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18600 dc483132-0cff-0310-8789-dd5450dbe970
src/util/support/threads.c