mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:13:05 +00:00
[RTL]
- In RtlpGrowBlockInPlace, copy the heap block's user value if the old block has the HEAP_ENTRY_EXTRA_PRESENT flag, instead of looking at the flags of the following block (where this will never be set). CORE-11196 #resolve svn path=/trunk/; revision=71279
This commit is contained in:
parent
0f3e91c5f7
commit
6b172f26a4
1 changed files with 1 additions and 1 deletions
|
@ -2359,7 +2359,7 @@ RtlpGrowBlockInPlace (IN PHEAP Heap,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Process extra stuff */
|
/* Process extra stuff */
|
||||||
if (RememberFlags & HEAP_ENTRY_EXTRA_PRESENT)
|
if (EntryFlags & HEAP_ENTRY_EXTRA_PRESENT)
|
||||||
{
|
{
|
||||||
/* Calculate pointers */
|
/* Calculate pointers */
|
||||||
OldExtra = (PHEAP_ENTRY_EXTRA)(InUseEntry + InUseEntry->Size - 1);
|
OldExtra = (PHEAP_ENTRY_EXTRA)(InUseEntry + InUseEntry->Size - 1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue