mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 22:23:05 +00:00
[KERNEL32]
- Initialize ViewSize to 0 when mapping view of section. Fixes DLLs registration problems in 2nd stage (happening all the time with the ldr rewrite). svn path=/trunk/; revision=51539
This commit is contained in:
parent
8b5ab2d248
commit
b86b0d1048
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ BasepLoadLibraryAsDatafile(PWSTR Path, LPCWSTR Name, HMODULE *hModule)
|
||||||
HANDLE hMapping;
|
HANDLE hMapping;
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
PVOID lpBaseAddress = NULL;
|
PVOID lpBaseAddress = NULL;
|
||||||
SIZE_T ViewSize;
|
SIZE_T ViewSize = 0;
|
||||||
//PUNICODE_STRING OriginalName;
|
//PUNICODE_STRING OriginalName;
|
||||||
//UNICODE_STRING dotDLL = RTL_CONSTANT_STRING(L".DLL");
|
//UNICODE_STRING dotDLL = RTL_CONSTANT_STRING(L".DLL");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue