[ros-diffs] [fireball] 26652: - Fix an unshielded "return" inside a PSEH block.

fireball at svn.reactos.org fireball at svn.reactos.org
Tue May 8 11:01:40 CEST 2007


Author: fireball
Date: Tue May  8 13:01:39 2007
New Revision: 26652

URL: http://svn.reactos.org/svn/reactos?rev=26652&view=rev
Log:
- Fix an unshielded "return" inside a PSEH block.

Modified:
    trunk/reactos/drivers/network/afd/afd/info.c

Modified: trunk/reactos/drivers/network/afd/afd/info.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/afd/info.c?rev=26652&r1=26651&r2=26652&view=diff
==============================================================================
--- trunk/reactos/drivers/network/afd/afd/info.c (original)
+++ trunk/reactos/drivers/network/afd/afd/info.c Tue May  8 13:01:39 2007
@@ -25,7 +25,10 @@
 			    InfoReq ? InfoReq->InformationClass : 0));
 
     _SEH_TRY {
-	if( !SocketAcquireStateLock( FCB ) ) return LostSocket( Irp, TRUE );
+	if( !SocketAcquireStateLock( FCB ) ) {
+	    Status = LostSocket( Irp, TRUE );
+	    _SEH_YIELD(return Status);
+	}
 
 	switch( InfoReq->InformationClass ) {
 	case AFD_INFO_RECEIVE_WINDOW_SIZE:




More information about the Ros-diffs mailing list