- 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:
Thomas Faber 2016-05-08 08:07:11 +00:00
parent 0f3e91c5f7
commit 6b172f26a4

View file

@ -2359,7 +2359,7 @@ RtlpGrowBlockInPlace (IN PHEAP Heap,
}
/* Process extra stuff */
if (RememberFlags & HEAP_ENTRY_EXTRA_PRESENT)
if (EntryFlags & HEAP_ENTRY_EXTRA_PRESENT)
{
/* Calculate pointers */
OldExtra = (PHEAP_ENTRY_EXTRA)(InUseEntry + InUseEntry->Size - 1);