summaryrefslogtreecommitdiff
path: root/usb/usbsamp/sys/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'usb/usbsamp/sys/stream.c')
-rw-r--r--usb/usbsamp/sys/stream.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usb/usbsamp/sys/stream.c b/usb/usbsamp/sys/stream.c
index 55243d06..ee434b35 100644
--- a/usb/usbsamp/sys/stream.c
+++ b/usb/usbsamp/sys/stream.c
@@ -200,7 +200,7 @@ Return Value:
pStreamInfo->NumberOfStreams = supportedStreams;
pStreamInfo->StreamList = ExAllocatePoolWithTag(
- NonPagedPool,
+ NonPagedPoolNx,
supportedStreams * sizeof(USBD_STREAM_INFORMATION),
POOL_TAG);
@@ -230,6 +230,7 @@ Return Value:
pUrb->UrbOpenStaticStreams.Streams = pStreamInfo->StreamList;
// Send the URB down the stack
+ #pragma prefast(suppress:__WARNING_WRITE_OVERRUN, "SAL noise")
status = WdfUsbTargetPipeSendUrbSynchronously(
Pipe,
NULL,