IoCreateDevice(): Fixed missing initialization of 'CreatedDeviceObject->Timer'
authorshort <>
Sun, 2 Feb 2003 01:39:28 +0000 (01:39 +0000)
committershort <>
Sun, 2 Feb 2003 01:39:28 +0000 (01:39 +0000)
ntoskrnl/io/device.c

index fac0268..4f2a68a 100644 (file)
@@ -710,6 +710,7 @@ IoCreateDevice(PDRIVER_OBJECT DriverObject,
   CreatedDeviceObject->CurrentIrp = NULL;
   CreatedDeviceObject->Flags = 0;
   CreatedDeviceObject->Characteristics = DeviceCharacteristics;
+  CreatedDeviceObject->Timer = NULL;
 
 #ifndef LIBCAPTIVE
   CreatedDeviceObject->DeviceExtension =