Author: cgutman
Date: Sat Dec 17 08:22:04 2011
New Revision: 54667
URL:
http://svn.reactos.org/svn/reactos?rev=54667&view=rev
Log:
[RTL]
- Don't pass stack garbage to ZwFreeVirtualMemory
Modified:
trunk/reactos/lib/rtl/heapdbg.c
Modified: trunk/reactos/lib/rtl/heapdbg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/heapdbg.c?rev=5466…
==============================================================================
--- trunk/reactos/lib/rtl/heapdbg.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/heapdbg.c [iso-8859-1] Sat Dec 17 08:22:04 2011
@@ -94,7 +94,7 @@
BOOLEAN NTAPI
RtlDebugDestroyHeap(HANDLE HeapPtr)
{
- SIZE_T Size;
+ SIZE_T Size = 0;
PHEAP Heap = (PHEAP)HeapPtr;
if (Heap == RtlGetCurrentPeb()->ProcessHeap)