summaryrefslogtreecommitdiff
path: root/general/echo/kmdf/driver/DriverSync/queue.c
diff options
context:
space:
mode:
authorkarlf <[email protected]>2016-08-11 13:28:13 -0700
committerkarlf <[email protected]>2016-08-11 13:28:13 -0700
commit96eb96dfb613e4c745db6bd1f53a92fe7e2290fc (patch)
treead5f3ede5cbcd6b598677ce41bcf8318471bdd92 /general/echo/kmdf/driver/DriverSync/queue.c
parent687b274aa38fd05c8c26e3068932121876d7f745 (diff)
Updated for "Windows 10 Anniversary Update" (Version 1607)
Diffstat (limited to 'general/echo/kmdf/driver/DriverSync/queue.c')
-rw-r--r--general/echo/kmdf/driver/DriverSync/queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/general/echo/kmdf/driver/DriverSync/queue.c b/general/echo/kmdf/driver/DriverSync/queue.c
index 6017294e..78c199d2 100644
--- a/general/echo/kmdf/driver/DriverSync/queue.c
+++ b/general/echo/kmdf/driver/DriverSync/queue.c
@@ -638,7 +638,7 @@ Return Value:
queueContext->Length = 0L;
}
- queueContext->Buffer = ExAllocatePoolWithTag(NonPagedPool, Length, 'sam1');
+ queueContext->Buffer = ExAllocatePoolWithTag(NonPagedPoolNx, Length, 'sam1');
if( queueContext->Buffer == NULL ) {
KdPrint(("EchoEvtIoWrite: Could not allocate %Iu byte buffer\n",Length));
WdfRequestComplete(Request, STATUS_INSUFFICIENT_RESOURCES);