diff options
author | truckman <truckman@FreeBSD.org> | 2016-05-20 06:35:14 +0000 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2016-05-20 06:35:14 +0000 |
commit | d47cdea4533b5c64c63e7f071aa11bc243289759 (patch) | |
tree | 665e546d0d094dc92f741b9e6de06a33900b5835 /contrib/libc++/src | |
parent | 936d644d38ed48d52a4644db1dbca297a504170e (diff) | |
download | FreeBSD-src-d47cdea4533b5c64c63e7f071aa11bc243289759.zip FreeBSD-src-d47cdea4533b5c64c63e7f071aa11bc243289759.tar.gz |
MFC r299581
Use strlcpy() instead of strncpy() to ensure that qf->fsname is NUL
terminated. Don't bother checking for truncation since the subsequent
stat() call should detect that and fail.
Reported by: Coverity
CID: 1018189
Diffstat (limited to 'contrib/libc++/src')
0 files changed, 0 insertions, 0 deletions