ntoskrnl.exe: Initialize StackSize field of DEVICE_OBJECT structure.
This commit is contained in:
parent
0c20b1d0a1
commit
1be805bee5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue