patch by Filip Navara:
IopCreateDeviceNode should allocate from NonPagedPool, not PagedPool...
(the memory is accessed at DISPATCH_LEVEL)
Modified: trunk/reactos/ntoskrnl/io/pnpmgr.c
_____
Modified: trunk/reactos/ntoskrnl/io/pnpmgr.c
--- trunk/reactos/ntoskrnl/io/pnpmgr.c 2005-03-25 19:28:55 UTC (rev
14318)
+++ trunk/reactos/ntoskrnl/io/pnpmgr.c 2005-03-25 19:34:26 UTC (rev
14319)
@@ -508,7 +508,7 @@
DPRINT("ParentNode %x PhysicalDeviceObject %x\n",
ParentNode, PhysicalDeviceObject);
- Node = (PDEVICE_NODE)ExAllocatePool(PagedPool, sizeof(DEVICE_NODE));
+ Node = (PDEVICE_NODE)ExAllocatePool(NonPagedPool,
sizeof(DEVICE_NODE));
if (!Node)
{
return STATUS_INSUFFICIENT_RESOURCES;
Show replies by date