IoCreateDevice(): Fixed missing initialization of 'CreatedDeviceObject->Vpb'
authorshort <>
Mon, 3 Feb 2003 23:08:53 +0000 (23:08 +0000)
committershort <>
Mon, 3 Feb 2003 23:08:53 +0000 (23:08 +0000)
ntoskrnl/io/device.c

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