Alexander Morozov : ntoskrnl.exe: Initialize StackSize field of DEVICE_OBJECT structure.
Alexandre Julliard
julliard at winehq.org
Tue Oct 7 08:54:12 CDT 2008
Module: wine
Branch: master
Commit: 1be805bee58b2c2c57c2a9b4f99583d4249c266c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1be805bee58b2c2c57c2a9b4f99583d4249c266c
Author: Alexander Morozov <amorozov at etersoft.ru>
Date: Fri Oct 3 16:26:25 2008 +0400
ntoskrnl.exe: Initialize StackSize field of DEVICE_OBJECT structure.
---
dlls/ntoskrnl.exe/ntoskrnl.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index 123a558..1751233 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -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;
More information about the wine-cvs
mailing list