mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-03 09:22:57 -05:00
sys: FspSafeMdlCreate: testing
This commit is contained in:
@ -288,6 +288,7 @@ NTSTATUS FspFsvolReadComplete(
|
||||
}
|
||||
|
||||
FSP_FSCTL_TRANSACT_REQ *Request = FspIrpRequest(Irp);
|
||||
FSP_SAFE_MDL *SafeMdl = FspIopRequestContext(Request, RequestSafeMdl);
|
||||
PFILE_OBJECT FileObject = IrpSp->FileObject;
|
||||
FSP_FILE_NODE *FileNode = FileObject->FsContext;
|
||||
LARGE_INTEGER ReadOffset = IrpSp->Parameters.Read.ByteOffset;
|
||||
@ -296,6 +297,8 @@ NTSTATUS FspFsvolReadComplete(
|
||||
ULONG InfoChangeNumber;
|
||||
BOOLEAN Success;
|
||||
|
||||
FspSafeMdlCopyBack(SafeMdl);
|
||||
|
||||
if (!PagingIo)
|
||||
{
|
||||
if (FspFsctlTransactReadKind == Request->Kind)
|
||||
|
Reference in New Issue
Block a user