mirror of
https://github.com/winfsp/winfsp.git
synced 2025-12-25 05:22:45 -06:00
sys: on Windows 8+ make Write buffer read-only
This commit is contained in:
@@ -300,7 +300,8 @@ NTSTATUS FspFsvolReadPrepare(
|
||||
}
|
||||
|
||||
/* map the MDL into user-mode */
|
||||
Result = FspMapLockedPagesInUserMode(0 != SafeMdl ? SafeMdl->Mdl : Irp->MdlAddress, &Address);
|
||||
Result = FspMapLockedPagesInUserMode(
|
||||
0 != SafeMdl ? SafeMdl->Mdl : Irp->MdlAddress, &Address, 0);
|
||||
if (!NT_SUCCESS(Result))
|
||||
{
|
||||
if (0 != SafeMdl)
|
||||
|
||||
Reference in New Issue
Block a user