ntdll: Initialize the PEB LoaderLock pointer.
This commit is contained in:
parent
7f5757f683
commit
35c91324ea
|
@ -2296,6 +2296,7 @@ void WINAPI LdrInitializeThunk( ULONG unknown1, ULONG unknown2, ULONG unknown3,
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
peb->LoaderLock = &loader_section;
|
||||||
peb->ProcessParameters->ImagePathName = wm->ldr.FullDllName;
|
peb->ProcessParameters->ImagePathName = wm->ldr.FullDllName;
|
||||||
version_init( wm->ldr.FullDllName.Buffer );
|
version_init( wm->ldr.FullDllName.Buffer );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue