mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 17:56:00 +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
1 changed files with 1 additions and 1 deletions
|
@ -510,7 +510,7 @@ KdbSymLoadUserModuleSymbols(IN PLDR_DATA_TABLE_ENTRY LdrModule)
|
||||||
|
|
||||||
KernelName.MaximumLength = sizeof(Prefix) + LdrModule->FullDllName.Length;
|
KernelName.MaximumLength = sizeof(Prefix) + LdrModule->FullDllName.Length;
|
||||||
KernelName.Length = KernelName.MaximumLength - sizeof(WCHAR);
|
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)
|
if (NULL == KernelName.Buffer)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue