mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 12:23:31 +00:00
Don't allocate from PagedPool while interrupts are disabled. Patch by Stefan Ginsberg
svn path=/trunk/; revision=34420
This commit is contained in:
@@ -340,7 +340,10 @@ KdbpSymAddCachedFile(IN PUNICODE_STRING FileName,
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user