From 847ae7c1c6bdbbfa34e4742e0a9aa4df33b106ed Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Tue, 30 Aug 2005 19:44:17 +0000 Subject: [PATCH] Fixed array bound length --- mbsebbs/filesub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbsebbs/filesub.c b/mbsebbs/filesub.c index 4feb137a..48b26d36 100644 --- a/mbsebbs/filesub.c +++ b/mbsebbs/filesub.c @@ -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;