1
0
mirror of https://github.com/winfsp/winfsp.git synced 2025-12-22 03:52:55 -06:00

sys: fix some prefast suggestions

This commit is contained in:
Bill Zissimopoulos
2016-04-11 15:27:34 -07:00
parent 430f47945d
commit 220208cf87
3 changed files with 4 additions and 1 deletions

View File

@@ -793,6 +793,7 @@ NTSTATUS FspSafeMdlCreate(PMDL UserMdl, LOCK_OPERATION Operation, FSP_SAFE_MDL *
Result = STATUS_INSUFFICIENT_RESOURCES;
goto exit;
}
#pragma prefast(suppress:28145, "We are a filesystem: ok to access MdlFlags")
SafeMdl->Mdl->MdlFlags |= MDL_PAGES_LOCKED;
UserPfnArray = MmGetMdlPfnArray(UserMdl);
SafePfnArray = MmGetMdlPfnArray(SafeMdl->Mdl);