- Don't access unitialized memory. Caught thanks to a new heap manager, and this fixes all weird actctx exceptions in kernel32_winetest heap.

svn path=/trunk/; revision=49122
This commit is contained in:
Aleksey Bragin
2010-10-12 09:03:39 +00:00
parent 770f1576a5
commit 917da839e1
+1 -1
View File
@@ -489,7 +489,7 @@ LdrpInit2(PCONTEXT Context,
/* add entry for executable (becomes first list entry) */
ExeModule = (PLDR_DATA_TABLE_ENTRY)
RtlAllocateHeap(Peb->ProcessHeap,
0,
HEAP_ZERO_MEMORY,
sizeof(LDR_DATA_TABLE_ENTRY));
if (ExeModule == NULL)
{