diff options
author | truckman <truckman@FreeBSD.org> | 2016-05-20 06:27:58 +0000 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2016-05-20 06:27:58 +0000 |
commit | 5e92b42b1a96a917ed2c4a062277670eb485e244 (patch) | |
tree | 31a0c88e7c35c9e271d3b141630228a29577406c /contrib/libc++/src/exception.cpp | |
parent | eb1ff2addcd8450cc91c4d23c26ae43f7f66bb92 (diff) | |
download | FreeBSD-src-5e92b42b1a96a917ed2c4a062277670eb485e244.zip FreeBSD-src-5e92b42b1a96a917ed2c4a062277670eb485e244.tar.gz |
MFC r299579
Use strlcpy() instead of strncpy() to ensure that qup->fsname is NUL
terminated. Don't bother checking for truncation since the subsequent
quota_read() should detect that and fail.
Reported by: Coverity
CID: 1009980
Diffstat (limited to 'contrib/libc++/src/exception.cpp')
0 files changed, 0 insertions, 0 deletions