mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 12:55:43 +00:00
[RTL]
- ASSERT on damaged heap data structures instead of producing an infinite loop See issue #5857 for more details. svn path=/trunk/; revision=54749
This commit is contained in:
parent
42942c9fbe
commit
aa885e24d7
1 changed files with 2 additions and 1 deletions
|
@ -669,6 +669,7 @@ RtlpFindAndCommitPages(PHEAP Heap,
|
|||
|
||||
while (!(LastEntry->Flags & HEAP_ENTRY_LAST_ENTRY))
|
||||
{
|
||||
ASSERT(LastEntry->Size != 0);
|
||||
LastEntry += LastEntry->Size;
|
||||
}
|
||||
ASSERT((LastEntry + LastEntry->Size) == FirstEntry);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue