mirror of
https://github.com/winfsp/winfsp.git
synced 2026-11-04 16:16:04 -06:00
sys: FspPropagateTopFlags: only touch TopLevelIrp if it looks like a kernel mode address
This commit is contained in:
1 parent
f32c914ee8
commit
c9f1c1c60d
1 file changed
+1
-1
+1
-1
@@ -298,7 +298,7 @@ VOID FspPropagateTopFlags(PIRP Irp, PIRP TopLevelIrp)
|
||||
|
||||
FspIrpSetTopFlags(Irp, FspFileNodeAcquireFull);
|
||||
}
|
||||
else if (IO_TYPE_IRP == TopLevelIrp->Type)
|
||||
else if ((PIRP)MM_SYSTEM_RANGE_START <= TopLevelIrp && IO_TYPE_IRP == TopLevelIrp->Type)
|
||||
{
|
||||
PFILE_OBJECT FileObject = IoGetCurrentIrpStackLocation(Irp)->FileObject;
|
||||
PFILE_OBJECT TopLevelFileObject = IoGetCurrentIrpStackLocation(TopLevelIrp)->FileObject;
|
||||
|
||||
Reference in new issue
Block a user