]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r299199: Add nid_namelen bounds check to nfssvc system call
authoremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 7 Oct 2016 14:46:34 +0000 (14:46 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 7 Oct 2016 14:46:34 +0000 (14:46 +0000)
commit339f74bc1dc809072842e4fbc7f6563595161d34
tree3cdcfe786a0fffad8e361317d14fc52f55a35a5d
parent25c68f65239e40e6a9adfbe2c6f3f4d88a097fc0
MFC r299199: Add nid_namelen bounds check to nfssvc system call

This is only allowed by root and only used by the nfs daemon, which
should not provide an incorrect value. However, it's still good
practice to validate data provided by userland.

PR: 206626

git-svn-id: svn://svn.freebsd.org/base/stable/10@306809 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfs/nfs_commonsubs.c