Alexandre Julliard : secur32: Properly initialize the helper structure when fork support is missing.
Alexandre Julliard
julliard at winehq.org
Mon Feb 16 09:34:55 CST 2009
Module: wine
Branch: master
Commit: 21a7b21b65d00b7879368d0448dbeda18abff0de
URL: http://source.winehq.org/git/wine.git/?a=commit;h=21a7b21b65d00b7879368d0448dbeda18abff0de
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Feb 16 11:53:22 2009 +0100
secur32: Properly initialize the helper structure when fork support is missing.
---
dlls/secur32/ntlm.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/secur32/ntlm.c b/dlls/secur32/ntlm.c
index 38c5134..7e44dd7 100644
--- a/dlls/secur32/ntlm.c
+++ b/dlls/secur32/ntlm.c
@@ -1982,6 +1982,7 @@ void SECUR32_initNTLMSP(void)
/* Cheat and allocate a helper anyway, so cleanup later will work. */
helper = HeapAlloc(GetProcessHeap(),0, sizeof(NegoHelper));
helper->major = helper->minor = helper->micro = -1;
+ helper->pipe_in = helper->pipe_out = -1;
}
else
check_version(helper);
More information about the wine-cvs
mailing list