File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -516,9 +516,9 @@ IopDeviceFsIoControl(IN HANDLE DeviceHandle,
516
516
{
517
517
/* Allocate the System Buffer */
518
518
Irp -> AssociatedIrp .SystemBuffer =
519
- ExAllocatePoolWithTag (PoolType ,
520
- BufferLength ,
521
- TAG_SYS_BUF );
519
+ ExAllocatePoolWithQuotaTag (PoolType ,
520
+ BufferLength ,
521
+ TAG_SYS_BUF );
522
522
523
523
/* Check if we got a buffer */
524
524
if (InputBuffer )
@@ -563,9 +563,9 @@ IopDeviceFsIoControl(IN HANDLE DeviceHandle,
563
563
{
564
564
/* Allocate the System Buffer */
565
565
Irp -> AssociatedIrp .SystemBuffer =
566
- ExAllocatePoolWithTag (PoolType ,
567
- InputBufferLength ,
568
- TAG_SYS_BUF );
566
+ ExAllocatePoolWithQuotaTag (PoolType ,
567
+ InputBufferLength ,
568
+ TAG_SYS_BUF );
569
569
570
570
/* Copy into the System Buffer */
571
571
RtlCopyMemory (Irp -> AssociatedIrp .SystemBuffer ,
You can’t perform that action at this time.
0 commit comments