mirror of
https://github.com/reactos/reactos.git
synced 2024-08-15 16:07:07 +00:00
Allocate buffer from Non-paged pool, like most everything else in KDBG.
svn path=/trunk/; revision=35660
This commit is contained in:
parent
4cd1c282bd
commit
8221cb697c
|
@ -510,7 +510,7 @@ KdbSymLoadUserModuleSymbols(IN PLDR_DATA_TABLE_ENTRY LdrModule)
|
|||
|
||||
KernelName.MaximumLength = sizeof(Prefix) + LdrModule->FullDllName.Length;
|
||||
KernelName.Length = KernelName.MaximumLength - sizeof(WCHAR);
|
||||
KernelName.Buffer = ExAllocatePoolWithTag(PagedPool, KernelName.MaximumLength, TAG_KDBS);
|
||||
KernelName.Buffer = ExAllocatePoolWithTag(NonPagedPool, KernelName.MaximumLength, TAG_KDBS);
|
||||
if (NULL == KernelName.Buffer)
|
||||
{
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue