Author: cgutman
Date: Sat Aug 23 16:41:10 2008
New Revision: 35577
URL:
http://svn.reactos.org/svn/reactos?rev=35577&view=rev
Log:
- Make sure FCB->AddressFrom is non-NULL
Modified:
branches/aicom-network-fixes/drivers/network/afd/afd/bind.c
Modified: branches/aicom-network-fixes/drivers/network/afd/afd/bind.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/afd/afd/bind.c [iso-8859-1] (original)
+++ branches/aicom-network-fixes/drivers/network/afd/afd/bind.c [iso-8859-1] Sat Aug 23
16:41:10 2008
@@ -70,6 +70,8 @@
TdiBuildConnectionInfo( &FCB->AddressFrom,
FCB->LocalAddress );
+ if( !FCB->AddressFrom ) return UnlockAndMaybeComplete( FCB, STATUS_NO_MEMORY, Irp, 0,
NULL );
+
AFD_DbgPrint(MID_TRACE,("Calling TdiReceiveDatagram\n"));
Status = TdiReceiveDatagram