[NTOS:IO]
authorThomas Faber <thomas.faber@reactos.org>
Fri, 24 Oct 2014 09:39:15 +0000 (09:39 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Fri, 24 Oct 2014 09:39:15 +0000 (09:39 +0000)
commit2c91c440f148b311fddfcb7cdf9eb431e24a0978
tree10163ec55d2ebe2b95785982fd41be1265e7a228
parent274363e9df419c8f97e4af66460bd18ebbca9c6f
[NTOS:IO]
- Don't delete the device node for root enumerated device objects on failure. It's pointless, since IopEnumerateDevice will just recreate it, and more importantly it causes a use-after-free because IopFreeDeviceNode does not unset the DeviceNode member of the device object extension, so IopEnumerateDevice will try to access the freed node
- Set the device object's DeviceNode pointer to NULL in IopFreeDeviceNode
- Use consistent pool tagging for device nodes
CORE-8671 #resolve

svn path=/trunk/; revision=64950
reactos/ntoskrnl/include/internal/tag.h
reactos/ntoskrnl/io/iomgr/driver.c
reactos/ntoskrnl/io/pnpmgr/pnpmgr.c