[ros-diffs] [cgutman] 37317: - Fix CID 1380 and 1382 (Run 2)

cgutman at svn.reactos.org cgutman at svn.reactos.org
Wed Nov 12 21:26:29 CET 2008


Author: cgutman
Date: Wed Nov 12 14:26:29 2008
New Revision: 37317

URL: http://svn.reactos.org/svn/reactos?rev=37317&view=rev
Log:
 - Fix CID 1380 and 1382 (Run 2)

Modified:
    branches/aicom-network-fixes/drivers/network/tcpip/tcpip/dispatch.c

Modified: branches/aicom-network-fixes/drivers/network/tcpip/tcpip/dispatch.c
URL: http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/network/tcpip/tcpip/dispatch.c?rev=37317&r1=37316&r2=37317&view=diff
==============================================================================
--- branches/aicom-network-fixes/drivers/network/tcpip/tcpip/dispatch.c [iso-8859-1] (original)
+++ branches/aicom-network-fixes/drivers/network/tcpip/tcpip/dispatch.c [iso-8859-1] Wed Nov 12 14:26:29 2008
@@ -841,7 +841,7 @@
   PTRANSPORT_CONTEXT TranContext;
   TDI_REQUEST Request;
   NTSTATUS Status;
-  ULONG BytesReceived;
+  ULONG BytesReceived = 0;
 
   TI_DbgPrint(DEBUG_IRP, ("Called.\n"));
 
@@ -918,7 +918,7 @@
   PTDI_REQUEST_KERNEL_SEND SendInfo;
   PTRANSPORT_CONTEXT TranContext;
   NTSTATUS Status;
-  ULONG BytesSent;
+  ULONG BytesSent = 0;
 
   TI_DbgPrint(DEBUG_IRP, ("Called.\n"));
 



More information about the Ros-diffs mailing list