]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Change len checks for fstypelen and fspathlen to be against absolute len
authorSean Bruno <sbruno@FreeBSD.org>
Thu, 3 Oct 2013 22:52:03 +0000 (22:52 +0000)
committerSean Bruno <sbruno@FreeBSD.org>
Thu, 3 Oct 2013 22:52:03 +0000 (22:52 +0000)
commitd3baefa8090b68fb04253a0b10671a1d0620bf6a
treebe533b3f02ff7f539226aa4a0c409aa7d0461991
parent5b3c2be312182146be4b8eabe0beac46d48347f6
Change len checks for fstypelen and fspathlen to be against absolute len
not strlen as they are *not* strings.

Discovered by GSOC student, Mike Ma <mikemandarine@gmail.com> during his
fuse.glusterfs port to FreeBSD.

Final patch from mckusick@

Submitted by: mckusick@
Approved by: re (hrs)
MFC after: 2 weeks
sys/kern/vfs_mount.c