Fixed array bound length
This commit is contained in:
parent
3b77f5f2f9
commit
847ae7c1c6
@ -818,7 +818,7 @@ int Addfile(char *File, int AreaNum, int fileid)
|
||||
{
|
||||
FILE *id, *pPrivate;
|
||||
int err = 1, iDesc = 1, iPrivate = FALSE, GotId = FALSE, lines, i, j;
|
||||
char *Filename, *temp1, *idname = NULL, *Desc[26], *lname, temp[81], msg[81];
|
||||
char *Filename, *temp1, *idname = NULL, *Desc[26], *lname, temp[PATH_MAX], msg[81];
|
||||
struct stat statfile;
|
||||
struct _fdbarea *fdb_area = NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user