Commit 1be805be authored by Alexander Morozov's avatar Alexander Morozov Committed by Alexandre Julliard

ntoskrnl.exe: Initialize StackSize field of DEVICE_OBJECT structure.

parent 0c20b1d0
......@@ -379,6 +379,7 @@ NTSTATUS WINAPI IoCreateDevice( DRIVER_OBJECT *driver, ULONG ext_size,
device->DriverObject = driver;
device->DeviceExtension = device + 1;
device->DeviceType = type;
device->StackSize = 1;
device->Reserved = handle;
device->NextDevice = driver->DeviceObject;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment