diff options
author | se <se@FreeBSD.org> | 2007-11-15 07:31:11 +0000 |
---|---|---|
committer | se <se@FreeBSD.org> | 2007-11-15 07:31:11 +0000 |
commit | 1746409d966352d1883c2c1f6aef0f84da21e78c (patch) | |
tree | 33db63b50c609d674fa532a585c261805b85badb /usr.bin/lsvfs | |
parent | 303014d009404b005be7a5870571244816930918 (diff) | |
download | FreeBSD-src-1746409d966352d1883c2c1f6aef0f84da21e78c.zip FreeBSD-src-1746409d966352d1883c2c1f6aef0f84da21e78c.tar.gz |
Fix (uncritical) potential buffer overflow: the length of "buf" was not
extended when "jaiL" was added to fmt_flags().
MFC after: 1 week
Diffstat (limited to 'usr.bin/lsvfs')
-rw-r--r-- | usr.bin/lsvfs/lsvfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/lsvfs/lsvfs.c b/usr.bin/lsvfs/lsvfs.c index 1f23e1c..a091282 100644 --- a/usr.bin/lsvfs/lsvfs.c +++ b/usr.bin/lsvfs/lsvfs.c @@ -70,7 +70,7 @@ fmt_flags(int flags) * NB: if you add new flags, don't forget to add them here vvvvvv too. */ static char buf[sizeof - "static, network, read-only, synthetic, loopback, unicode"]; + "static, network, read-only, synthetic, loopback, unicode, jail"]; int comma = 0; buf[0] = '\0'; |