mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
patch by Filip Navara:
IopCreateDeviceNode should allocate from NonPagedPool, not PagedPool... (the memory is accessed at DISPATCH_LEVEL) svn path=/trunk/; revision=14319
This commit is contained in:
parent
71cda6ad2a
commit
8ac9a09484
1 changed files with 1 additions and 1 deletions
|
@ -508,7 +508,7 @@ IopCreateDeviceNode(PDEVICE_NODE ParentNode,
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue