sys: fsctl: WIP

This commit is contained in:
Bill Zissimopoulos
2015-11-26 13:06:32 -08:00
parent 91ace92aaf
commit d710e7a437
2 changed files with 7 additions and 1 deletions

View File

@ -186,6 +186,10 @@ static NTSTATUS FspFsvrtTransact(
return STATUS_CANCELLED;
}
/* check that we have enough space before pulling the next pending IRP off the queue */
if ((PUINT8)Request + FSP_FSCTL_TRANSACT_REQ_SIZEMAX > SystemBufferEnd)
break;
PendingIrp = FspIoqNextPendingIrp(&FsvrtDeviceExtension->Ioq, 0);
if (0 == PendingIrp)
break;