[NTOS:IO]
authorThomas Faber <thomas.faber@reactos.org>
Fri, 1 May 2015 11:52:32 +0000 (11:52 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Fri, 1 May 2015 11:52:32 +0000 (11:52 +0000)
- IopCompleteRequest: in case of an exception, fail the IRP as shown by kmtest:IoReadWrite
CORE-9624

svn path=/trunk/; revision=67489

reactos/ntoskrnl/io/iomgr/irp.c

index 021e65f..f0b55ec 100644 (file)
@@ -293,7 +293,8 @@ IopCompleteRequest(IN PKAPC Apc,
             }
             _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
             {
-                /* Do nothing */
+                /* Fail the IRP */
+                Irp->IoStatus.Status = _SEH2_GetExceptionCode();
             }
             _SEH2_END;
         }