From 9c1945b1a481c56b87242467cb57de341f650a9d Mon Sep 17 00:00:00 2001 From: Daan Leijen Date: Thu, 9 Dec 2021 17:28:12 -0800 Subject: [PATCH] fix test --- test/test-stress.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/test-stress.c b/test/test-stress.c index 07c90cac..938315be 100644 --- a/test/test-stress.c +++ b/test/test-stress.c @@ -103,9 +103,7 @@ static void* alloc_items(size_t items, random_t r) { for (uintptr_t i = 0; i < items; i++) { p[i] = (items - i) ^ cookie; } - if (pick(r)%1000 <= 1) { - p[items+1] = 42; // overflow - } + // if (pick(r)%1000 <= 1) { p[items+1] = 42; } // overflow heap block } return p; }