Rob Shearman : secur32: Split the NTLM credential and context handles into separate objects.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Aug 8 08:59:23 CDT 2007


Module: wine
Branch: master
Commit: 888a8e27b8d00c23c298533e252c93381c455ffe
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=888a8e27b8d00c23c298533e252c93381c455ffe

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(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=888a8e27b8d00c23c298533e252c93381c455ffe



More information about the wine-cvs mailing list