Rob Shearman : secur32:
Split the NTLM credential and context handles into separate objects.
julliard at wine.codeweavers.com
Wed Aug 8 08:59:23 CDT 2007
Author: Rob Shearman <rob at codeweavers.com>
Date: Tue Aug 7 17:12:32 2007 +0100
secur32: Split the NTLM credential and context handles into separate objects.
This prevents races with two threads using the helper object at the same
time on two different context handles, eliminates the need to free the
credential handle after freeing the context handles and also prevents a
crash caused by not clearing session_key in DeleteSecurityContext.
dlls/secur32/dispatcher.c | 1 -
dlls/secur32/ntlm.c | 327 +++++++++++++++++++++++++++----------------
dlls/secur32/secur32_priv.h | 2 -
3 files changed, 209 insertions(+), 121 deletions(-)
More information about the wine-cvs