Skip to content

Commit c85915b

Browse files
committed
[NTOSKRNL]
- Uncomment a device node traversal check svn path=/trunk/; revision=53290
1 parent c477153 commit c85915b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reactos/ntoskrnl/io/pnpmgr/pnpmgr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2118,7 +2118,7 @@ IopActionInitChildServices(PDEVICE_NODE DeviceNode,
21182118
* Make sure this device node is a direct child of the parent device node
21192119
* that is given as an argument
21202120
*/
2121-
#if 0
2121+
21222122
if (DeviceNode->Parent != ParentDeviceNode)
21232123
{
21242124
/*
@@ -2127,7 +2127,7 @@ IopActionInitChildServices(PDEVICE_NODE DeviceNode,
21272127
DPRINT("Stop\n");
21282128
return STATUS_UNSUCCESSFUL;
21292129
}
2130-
#endif
2130+
21312131
if (IopDeviceNodeHasFlag(DeviceNode, DNF_STARTED) ||
21322132
IopDeviceNodeHasFlag(DeviceNode, DNF_ADDED) ||
21332133
IopDeviceNodeHasFlag(DeviceNode, DNF_DISABLED))

0 commit comments

Comments
 (0)