From Keri Harris

In the event that Yap is compiled on a machine where the timezone is not set
it's possible to hit a buffer overflow:
This commit is contained in:
Vitor Santos Costa 2010-11-07 19:32:40 +00:00
parent 9770904f6f
commit 8f02054109

View File

@ -658,7 +658,7 @@ p_save_program(void)
static int
check_header(CELL *info, CELL *ATrail, CELL *AStack, CELL *AHeap)
{
char pp[80];
char pp[256];
char msg[256];
CELL hp_size, gb_size, lc_size, tr_size, mode;
int n;