bad init could cause overflow.

This commit is contained in:
Vítor Santos Costa 2009-03-31 13:51:44 +01:00
parent a2b6c0c529
commit e201d11e81

View File

@ -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;