From 854b0effe9cf4b457edd55197f76d6d7f489612a Mon Sep 17 00:00:00 2001 From: Marion Guthmuller Date: Fri, 1 Jun 2012 17:49:11 +0200 Subject: [PATCH 1/1] model-checker : oops, about 3000 blocks unchecked in heap comparison algorithm ... stop condition changed --- src/xbt/mmalloc/mm_diff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xbt/mmalloc/mm_diff.c b/src/xbt/mmalloc/mm_diff.c index 72e8845f98..17dca5f9ba 100644 --- a/src/xbt/mmalloc/mm_diff.c +++ b/src/xbt/mmalloc/mm_diff.c @@ -208,7 +208,7 @@ int mmalloc_compare_mdesc(struct mdesc *mdp1, struct mdesc *mdp2, void* s_heap, /* Check busy blocks*/ - while(i < mdp1->heapindex){ + while(i < mdp1->heaplimit){ if(mdp1->heapinfo[i].type != mdp2->heapinfo[i].type){ fprintf(stderr,"Different type of block : %d - %d\n", mdp1->heapinfo[i].type, mdp2->heapinfo[i].type); -- 2.20.1