diff options
author | truckman <truckman@FreeBSD.org> | 2016-05-20 07:00:11 +0000 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2016-05-20 07:00:11 +0000 |
commit | 4597c47c8b031e66fdecf9be5ab02e94150345e6 (patch) | |
tree | 29c42c1f6ecd086d4da12ef4266b3f0cb38a5779 /contrib/libc++/src/valarray.cpp | |
parent | da24c7987e35b6208d9d89babc94b8fcd8345813 (diff) | |
download | FreeBSD-src-4597c47c8b031e66fdecf9be5ab02e94150345e6.zip FreeBSD-src-4597c47c8b031e66fdecf9be5ab02e94150345e6.tar.gz |
MFC r299867
Use strlcpy() instead of strncpy() when copying ifname to ensure
that it is NUL terminated. Additional NUL padding is not required
for short names.
Reported by: Coverity
CID: 974860, 1009972, 1009973
Diffstat (limited to 'contrib/libc++/src/valarray.cpp')
0 files changed, 0 insertions, 0 deletions