mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
[VIDEOPRT] Don't return uninitialized memory
This commit is contained in:
@@ -35,6 +35,9 @@ VideoPortCreateEvent(IN PVOID HwDeviceExtension,
|
||||
TAG_VIDEO_PORT);
|
||||
if (EngEvent)
|
||||
{
|
||||
/* Zero flags */
|
||||
EngEvent->fFlags = 0;
|
||||
|
||||
/* Set KEVENT pointer */
|
||||
EngEvent->pKEvent = EngEvent + 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user