projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
adbd79b
)
Catch really weird scenario where we don't have a File Object on our IRP Stack. Added...
author
Alex Ionescu
<aionescu@gmail.com>
Mon, 14 Nov 2005 22:04:30 +0000
(22:04 +0000)
committer
Alex Ionescu
<aionescu@gmail.com>
Mon, 14 Nov 2005 22:04:30 +0000
(22:04 +0000)
svn path=/trunk/; revision=19230
reactos/drivers/fs/np/rw.c
patch
|
blob
|
history
diff --git
a/reactos/drivers/fs/np/rw.c
b/reactos/drivers/fs/np/rw.c
index
dfd7a2a
..
0676d42
100644
(file)
--- a/
reactos/drivers/fs/np/rw.c
+++ b/
reactos/drivers/fs/np/rw.c
@@
-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))
{