Author: cgutman
Date: Fri Mar 13 00:33:21 2009
New Revision: 39990
URL:
http://svn.reactos.org/svn/reactos?rev=39990&view=rev
Log:
- Add an extra parameter check
Modified:
branches/aicom-network-fixes/drivers/network/afd/afd/info.c
Modified: branches/aicom-network-fixes/drivers/network/afd/afd/info.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/afd/afd/info.c [iso-8859-1] (original)
+++ branches/aicom-network-fixes/drivers/network/afd/afd/info.c [iso-8859-1] Fri Mar 13
00:33:21 2009
@@ -123,7 +123,7 @@
if( !SocketAcquireStateLock( FCB ) ) return LostSocket( Irp );
- if (FCB->RemoteAddress == NULL) {
+ if (FCB->RemoteAddress == NULL || FCB->Connection.Object == NULL) {
return UnlockAndMaybeComplete( FCB, STATUS_INVALID_PARAMETER, Irp, 0, NULL );
}