sys: FspSendQueryEaIrp: fix EA related BSOD

This commit is contained in:
Bill Zissimopoulos
2019-04-17 16:04:44 -07:00
parent 859d4250c3
commit a08fdccb17
2 changed files with 59 additions and 53 deletions

View File

@ -344,6 +344,7 @@ NTSTATUS FspSendQueryEaIrp(PDEVICE_OBJECT DeviceObject, PFILE_OBJECT FileObject,
IrpSp = IoGetNextIrpStackLocation(Irp);
Irp->RequestorMode = KernelMode;
Irp->AssociatedIrp.SystemBuffer = Ea;
Irp->UserBuffer = Ea;
IrpSp->MajorFunction = IRP_MJ_QUERY_EA;
IrpSp->FileObject = FileObject;
IrpSp->Parameters.QueryEa.Length = EaLength;