]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Change len checks for fstypelen and fspathlen to be against absolute len
authorsbruno <sbruno@FreeBSD.org>
Thu, 3 Oct 2013 22:52:03 +0000 (22:52 +0000)
committersbruno <sbruno@FreeBSD.org>
Thu, 3 Oct 2013 22:52:03 +0000 (22:52 +0000)
commit6b64ef7266faf590b6c21b48b942940be4dca877
treebe533b3f02ff7f539226aa4a0c409aa7d0461991
parentaae6234255311ce64facefa4a4d332c68542d3b3
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