buf is now of size MAXPATHLEN+1 since it never holds command args

This commit is contained in:
Todd C. Miller
1995-09-01 04:55:34 +00:00
parent eaf845fd2c
commit 4fb87b2fa2

View File

@@ -164,7 +164,7 @@ int path_matches(cmnd, path)
struct stat pst;
DIR *dirp;
struct dirent *dent;
char buf[MAXCOMMANDLENGTH+1];
char buf[MAXPATHLEN+1];
static char *c;
char *args;