mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 20:30:04 +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:
parent
4460003077
commit
dee49b95a1
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue