[NTOSKRNL] Use ExAllocatePoolWithQuotaTag() when allocating SystemBuffer for the IRP
authorPierre Schweitzer <pierre@reactos.org>
Sun, 26 Nov 2017 13:01:04 +0000 (14:01 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Sun, 26 Nov 2017 13:03:30 +0000 (14:03 +0100)
commit9ecbbe2a338619c9d9f7c52a6e7af24adc5fb174
tree0fb44ad0fc77eab9edfeb72853bb0ee9535819c0
parentd01184b16460b014fe9b19c5a142eb0ed88e6455
[NTOSKRNL] Use ExAllocatePoolWithQuotaTag() when allocating SystemBuffer for the IRP
That way, in case the system lacks memory, an exception is thrown and IRP isn't sent
to the device with NULL SystemBuffer.

CORE-14048
ntoskrnl/io/iomgr/iofunc.c