mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-03 17:32:57 -05:00
sys: on Windows 8+ make Write buffer read-only
This commit is contained in:
@ -729,7 +729,7 @@ NTSTATUS FspFsvolDirectoryControlPrepare(
|
||||
MmBuildMdlForNonPagedPool(Mdl);
|
||||
|
||||
/* map the MDL into user-mode */
|
||||
Result = FspMapLockedPagesInUserMode(Mdl, &Address);
|
||||
Result = FspMapLockedPagesInUserMode(Mdl, &Address, 0);
|
||||
if (!NT_SUCCESS(Result))
|
||||
{
|
||||
if (0 != Mdl)
|
||||
|
Reference in New Issue
Block a user