Author: hyperion
Date: Fri Jul 11 04:11:21 2008
New Revision: 34420
URL:
http://svn.reactos.org/svn/reactos?rev=34420&view=rev
Log:
Don't allocate from PagedPool while interrupts are disabled. Patch by Stefan Ginsberg
Modified:
trunk/reactos/ntoskrnl/kdbg/kdb_symbols.c
Modified: trunk/reactos/ntoskrnl/kdbg/kdb_symbols.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/kdbg/kdb_symbols.…
==============================================================================
--- trunk/reactos/ntoskrnl/kdbg/kdb_symbols.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/kdbg/kdb_symbols.c [iso-8859-1] Fri Jul 11 04:11:21 2008
@@ -340,7 +340,10 @@
RtlZeroMemory(CacheEntry, sizeof (IMAGE_SYMBOL_INFO_CACHE));
/* fill entry */
- RtlCreateUnicodeString(&CacheEntry->FileName, FileName->Buffer);
+ CacheEntry->FileName.Buffer = ExAllocatePoolWithTag(NonPagedPool,
+ FileName->Length,
+ TAG_KDBS);
+ RtlInitUnicodeString(&CacheEntry->FileName, FileName->Buffer);
ASSERT(CacheEntry->FileName.Buffer);
CacheEntry->RefCount = 1;
CacheEntry->RosSymInfo = RosSymInfo;