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:
parent
9770904f6f
commit
8f02054109
2
C/save.c
2
C/save.c
@ -658,7 +658,7 @@ p_save_program(void)
|
|||||||
static int
|
static int
|
||||||
check_header(CELL *info, CELL *ATrail, CELL *AStack, CELL *AHeap)
|
check_header(CELL *info, CELL *ATrail, CELL *AStack, CELL *AHeap)
|
||||||
{
|
{
|
||||||
char pp[80];
|
char pp[256];
|
||||||
char msg[256];
|
char msg[256];
|
||||||
CELL hp_size, gb_size, lc_size, tr_size, mode;
|
CELL hp_size, gb_size, lc_size, tr_size, mode;
|
||||||
int n;
|
int n;
|
||||||
|
Reference in New Issue
Block a user