git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
IoCreateDevice(): Fixed missing initialization of 'CreatedDeviceObject->Vpb'
[reactos.git]
/
ntoskrnl
/
io
/
device.c
diff --git
a/ntoskrnl/io/device.c
b/ntoskrnl/io/device.c
index
4f2a68a
..
40551eb
100644
(file)
--- a/
ntoskrnl/io/device.c
+++ b/
ntoskrnl/io/device.c
@@
-711,6
+711,7
@@
IoCreateDevice(PDRIVER_OBJECT DriverObject,
CreatedDeviceObject->Flags = 0;
CreatedDeviceObject->Characteristics = DeviceCharacteristics;
CreatedDeviceObject->Timer = NULL;
+ CreatedDeviceObject->Vpb = NULL;
#ifndef LIBCAPTIVE
CreatedDeviceObject->DeviceExtension =