Skip Menu |
 

From: jaltman@mit.edu
Subject: SVN Commit
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.


Commit By: jaltman



Revision: 18600
Changed Files:
U trunk/src/util/support/threads.c
Please pullup to 1-4 and 1-5 branches.
From: tlyu@mit.edu
Subject: SVN Commit
pull up r18600 from trunk

r18600@cathode-dark-space: jaltman | 2006-09-20 22:43:12 -0400
ticket: new
subject: windows thread support frees thread local storage after TlsSetValue
tags: pullup

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.




Commit By: tlyu



Revision: 18610
Changed Files:
_U branches/krb5-1-5/
U branches/krb5-1-5/src/util/support/threads.c
From: tlyu@mit.edu
Subject: SVN Commit
pull up r18600 from trunk

r18600@cathode-dark-space: jaltman | 2006-09-20 22:43:12 -0400
ticket: new
subject: windows thread support frees thread local storage after TlsSetValue
tags: pullup

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.




Commit By: tlyu



Revision: 18611
Changed Files:
_U branches/krb5-1-4/
U branches/krb5-1-4/src/util/support/threads.c