sys: util: FspEaBufferAndNamesValid

This commit is contained in:
Bill Zissimopoulos
2019-03-16 13:58:09 -07:00
parent 91568edc45
commit 9e5d75fadc
4 changed files with 44 additions and 22 deletions

View File

@ -314,8 +314,7 @@ static NTSTATUS FspFsvolCreateNoLock(
return STATUS_ACCESS_DENIED;
/* is the EA buffer valid? */
Irp->IoStatus.Information = 0;
Result = IoCheckEaBufferValidity(EaBuffer, EaLength, (PULONG)&Irp->IoStatus.Information);
Result = FspEaBufferAndNamesValid(EaBuffer, EaLength, (PULONG)&Irp->IoStatus.Information);
if (!NT_SUCCESS(Result))
return Result;
}