projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c477153
)
[NTOSKRNL]
author
Cameron Gutman
<aicommander@gmail.com>
Thu, 18 Aug 2011 00:04:49 +0000
(
00:04
+0000)
committer
Cameron Gutman
<aicommander@gmail.com>
Thu, 18 Aug 2011 00:04:49 +0000
(
00:04
+0000)
- Uncomment a device node traversal check
svn path=/trunk/; revision=53290
reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
b/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
index
6f23b1f
..
f3f0ce0
100644
(file)
--- a/
reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
+++ b/
reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
@@
-2118,7
+2118,7
@@
IopActionInitChildServices(PDEVICE_NODE DeviceNode,
* Make sure this device node is a direct child of the parent device node
* that is given as an argument
*/
-#if 0
+
if (DeviceNode->Parent != ParentDeviceNode)
{
/*
@@
-2127,7
+2127,7
@@
IopActionInitChildServices(PDEVICE_NODE DeviceNode,
DPRINT("Stop\n");
return STATUS_UNSUCCESSFUL;
}
-#endif
+
if (IopDeviceNodeHasFlag(DeviceNode, DNF_STARTED) ||
IopDeviceNodeHasFlag(DeviceNode, DNF_ADDED) ||
IopDeviceNodeHasFlag(DeviceNode, DNF_DISABLED))