Expand the sscanf buffer to 32 bytes to make room for the expanded

pattern, with some space left over to avoid this mistake next time it's
improved.

Submitted by:	luoqi
This commit is contained in:
Mike Smith 1999-11-05 02:45:50 +00:00
parent 45168c5d16
commit 7a0beaf12d
2 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ vfs_mountroot_try(char *mountfrom)
struct mount *mp;
char *vfsname, *path;
int error;
char patt[16];
char patt[32];
vfsname = path = mp = NULL;
error = EINVAL;

View File

@ -165,7 +165,7 @@ vfs_mountroot_try(char *mountfrom)
struct mount *mp;
char *vfsname, *path;
int error;
char patt[16];
char patt[32];
vfsname = path = mp = NULL;
error = EINVAL;