We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5051053 commit 37c6377Copy full SHA for 37c6377
ntoskrnl/io/pnpmgr/plugplay.c
@@ -64,6 +64,7 @@ IopQueueTargetDeviceEvent(const GUID *Guid,
64
TotalSize + FIELD_OFFSET(PNP_EVENT_ENTRY, Event));
65
if (!EventEntry)
66
return STATUS_INSUFFICIENT_RESOURCES;
67
+ RtlZeroMemory(EventEntry, TotalSize + FIELD_OFFSET(PNP_EVENT_ENTRY, Event));
68
69
/* Fill the buffer with the event GUID */
70
RtlCopyMemory(&EventEntry->Event.EventGuid,
0 commit comments