Author: cgutman
Date: Fri Sep 19 19:31:02 2008
New Revision: 36337
URL:
http://svn.reactos.org/svn/reactos?rev=36337&view=rev
Log:
- Zero the memory after we allocate it
Modified:
branches/aicom-network-fixes/drivers/network/tcpip/tcpip/pool.c
Modified: branches/aicom-network-fixes/drivers/network/tcpip/tcpip/pool.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/tcpip/tcpip/pool.c [iso-8859-1]
(original)
+++ branches/aicom-network-fixes/drivers/network/tcpip/tcpip/pool.c [iso-8859-1] Fri Sep
19 19:31:02 2008
@@ -25,6 +25,8 @@
/* FIXME: Get buffer from a free buffer pool with enough room */
Buffer = ExAllocatePool(NonPagedPool, Size);
+
+ RtlZeroMemory(Buffer, Size);
TI_DbgPrint(DEBUG_MEMORY, ("Allocated (%i) bytes at (0x%X).\n", Size,
Buffer));