ntoskrnl.exe: Initialize StackSize field of DEVICE_OBJECT structure.

This commit is contained in:
Alexander Morozov 2008-10-03 16:26:25 +04:00 committed by Alexandre Julliard
parent 0c20b1d0a1
commit 1be805bee5
1 changed files with 1 additions and 0 deletions

View File

@ -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;