Commit 35c91324 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Initialize the PEB LoaderLock pointer.

parent 7f5757f6
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment