diff options
author | truckman <truckman@FreeBSD.org> | 2016-05-20 06:33:02 +0000 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2016-05-20 06:33:02 +0000 |
commit | 936d644d38ed48d52a4644db1dbca297a504170e (patch) | |
tree | aea8f8c44294170e06ed90107404666729b8996c /contrib/libc++/src | |
parent | 5e92b42b1a96a917ed2c4a062277670eb485e244 (diff) | |
download | FreeBSD-src-936d644d38ed48d52a4644db1dbca297a504170e.zip FreeBSD-src-936d644d38ed48d52a4644db1dbca297a504170e.tar.gz |
MFC r299580
Use strlcpy() instead of strncpy() to ensure that ret->name is
NUL terminated. The source and destination buffers are the same
size and the source *should* be NUL terminated, but be paranoid.
Reported by: Coverity
CID: 1011274
Diffstat (limited to 'contrib/libc++/src')
0 files changed, 0 insertions, 0 deletions