diff options
author | msmith <msmith@FreeBSD.org> | 1999-11-05 02:45:50 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1999-11-05 02:45:50 +0000 |
commit | 07b89ba5ca71b72daf2ecda7d4d5a371d81247f2 (patch) | |
tree | 867f8ed62e0e5968732805f4750c4e11ca4862ea /sys/kern/vfs_mount.c | |
parent | f3be8b4e84953c69305f0c048a260a0d4ab83f71 (diff) | |
download | FreeBSD-src-07b89ba5ca71b72daf2ecda7d4d5a371d81247f2.zip FreeBSD-src-07b89ba5ca71b72daf2ecda7d4d5a371d81247f2.tar.gz |
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
Diffstat (limited to 'sys/kern/vfs_mount.c')
-rw-r--r-- | sys/kern/vfs_mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index bce7489..23571eb 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -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; |