From e201d11e81b6e8bd5040272a95feb26a521c9fe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Tue, 31 Mar 2009 13:51:44 +0100 Subject: [PATCH] bad init could cause overflow. --- console/yap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/console/yap.c b/console/yap.c index 2c0ea6cbc..2d2e198fe 100644 --- a/console/yap.c +++ b/console/yap.c @@ -676,6 +676,7 @@ init_standard_system(int argc, char *argv[], YAP_init_args *iap) iap->HeapSize = 0; iap->StackSize = 0; iap->TrailSize = 0; + iap->AttsSize = 0; iap->YapLibDir = NULL; iap->YapPrologBootFile = NULL; iap->YapPrologInitFile = NULL;