Author: fireball
Date: Sun May 1 22:00:14 2011
New Revision: 51539
URL:
http://svn.reactos.org/svn/reactos?rev=51539&view=rev
Log:
[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).
Modified:
trunk/reactos/dll/win32/kernel32/misc/ldr.c
Modified: trunk/reactos/dll/win32/kernel32/misc/ldr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/ld…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/misc/ldr.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/misc/ldr.c [iso-8859-1] Sun May 1 22:00:14 2011
@@ -275,7 +275,7 @@
HANDLE hMapping;
NTSTATUS Status;
PVOID lpBaseAddress = NULL;
- SIZE_T ViewSize;
+ SIZE_T ViewSize = 0;
//PUNICODE_STRING OriginalName;
//UNICODE_STRING dotDLL = RTL_CONSTANT_STRING(L".DLL");