IoCreateDevice(): Fixed missing initialization of 'CreatedDeviceObject->Vpb'
[reactos.git] / 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 =