summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-06-10 14:08:41 +0000
committerngie <ngie@FreeBSD.org>2016-06-10 14:08:41 +0000
commitf316eb23ef8ccdc71ef76c2ed1f9cf0e8fde1a94 (patch)
tree481e96ad23c58ef94098d92dc4eef4b1526a936b /lib/libc/stdlib
parent44074e3ef1e88b7ee813efa2b4657ef5e3e16817 (diff)
downloadFreeBSD-src-f316eb23ef8ccdc71ef76c2ed1f9cf0e8fde1a94.zip
FreeBSD-src-f316eb23ef8ccdc71ef76c2ed1f9cf0e8fde1a94.tar.gz
MFC r299460:
r299460 (by cem): fsck_ffs: Don't overrun mount device buffer Maybe this case is impossible. Either way, when attempting to "/dev/"-prefix a non-global device name, check that we do not overrun the f_mntfromname buffer. In this case, truncating (with strlcpy or similar) would not be useful, since the f_mntfromname result of getmntpt() is passed directly to open(2) later. CID: 1006789
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud