1
0
mirror of https://github.com/winfsp/winfsp.git synced 2026-06-26 06:18:21 -05:00

sys: FspEaBufferFromOriginatingProcessValidate, FspEaBufferFromFileSystemValidate

This commit is contained in:
Bill Zissimopoulos
2019-03-20 19:06:24 -07:00
parent 8c6d037332
commit 2d0c8e14be
4 changed files with 45 additions and 10 deletions
+2 -1
View File
@@ -314,7 +314,8 @@ static NTSTATUS FspFsvolCreateNoLock(
return STATUS_ACCESS_DENIED;
/* is the EA buffer valid? */
Result = FspEaBufferAndNamesValid(EaBuffer, EaLength, (PULONG)&Irp->IoStatus.Information);
Result = FspEaBufferFromOriginatingProcessValidate(
EaBuffer, EaLength, (PULONG)&Irp->IoStatus.Information);
if (!NT_SUCCESS(Result))
return Result;
}