From 7baa67cbcb312d306d182df3ad7b727062e81075 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Mon, 12 May 2003 03:32:07 +0000 Subject: [PATCH] Added missing return in HEAP_ValidateInUseArena. --- dlls/ntdll/heap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/ntdll/heap.c b/dlls/ntdll/heap.c index e06b8b51e53..66d0ca800a3 100644 --- a/dlls/ntdll/heap.c +++ b/dlls/ntdll/heap.c @@ -858,6 +858,7 @@ static BOOL HEAP_ValidateInUseArena( SUBHEAP *subheap, ARENA_INUSE *pArena, BOOL { ERR("Heap %08lx: bad flags %lx for in-use arena %08lx\n", (DWORD)subheap->heap, pArena->size & ~ARENA_SIZE_MASK, (DWORD)pArena ); + return FALSE; } /* Check arena size */ if ((char *)(pArena + 1) + (pArena->size & ARENA_SIZE_MASK) > heapEnd)