Catch really weird scenario where we don't have a File Object on our IRP Stack. Added by Elrond.

svn path=/trunk/; revision=19230
This commit is contained in:
Alex Ionescu
2005-11-14 22:04:30 +00:00
parent adbd79b940
commit 68ed182332
+2
View File
@@ -529,6 +529,8 @@ NpfsRead(IN PDEVICE_OBJECT DeviceObject,
}
Irp->IoStatus.Information = Information;
Irp->IoStatus.Status = Status;
ASSERT(IoGetCurrentIrpStackLocation(Irp)->FileObject != NULL);
if (IoIsOperationSynchronous(Irp))
{