Alexandre Julliard : ntdll: Initialize the PEB LoaderLock pointer.

Alexandre Julliard julliard at winehq.org
Mon Nov 19 08:19:52 CST 2007


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Nov 19 13:56:26 2007 +0100

ntdll: Initialize the PEB LoaderLock pointer.

---

 dlls/ntdll/loader.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c
index 8769b09..c6c6806 100644
--- a/dlls/ntdll/loader.c
+++ b/dlls/ntdll/loader.c
@@ -2296,6 +2296,7 @@ void WINAPI LdrInitializeThunk( ULONG unknown1, ULONG unknown2, ULONG unknown3,
         exit(1);
     }
 
+    peb->LoaderLock = &loader_section;
     peb->ProcessParameters->ImagePathName = wm->ldr.FullDllName;
     version_init( wm->ldr.FullDllName.Buffer );
 




More information about the wine-cvs mailing list