summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/src/shared_mutex.cpp
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2016-05-20 06:35:14 +0000
committertruckman <truckman@FreeBSD.org>2016-05-20 06:35:14 +0000
commitd47cdea4533b5c64c63e7f071aa11bc243289759 (patch)
tree665e546d0d094dc92f741b9e6de06a33900b5835 /contrib/libc++/src/shared_mutex.cpp
parent936d644d38ed48d52a4644db1dbca297a504170e (diff)
downloadFreeBSD-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/shared_mutex.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud