Catch really weird scenario where we don't have a File Object on our IRP Stack. Added by Elrond.
Modified: trunk/reactos/drivers/fs/np/rw.c
--- trunk/reactos/drivers/fs/np/rw.c 2005-11-14 21:53:21 UTC (rev 19229) +++ trunk/reactos/drivers/fs/np/rw.c 2005-11-14 22:04:30 UTC (rev 19230) @@ -529,6 +529,8 @@
} Irp->IoStatus.Information = Information; Irp->IoStatus.Status = Status;
+ + ASSERT(IoGetCurrentIrpStackLocation(Irp)->FileObject != NULL);
if (IoIsOperationSynchronous(Irp)) {