summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/src/valarray.cpp
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2016-05-20 07:00:11 +0000
committertruckman <truckman@FreeBSD.org>2016-05-20 07:00:11 +0000
commit4597c47c8b031e66fdecf9be5ab02e94150345e6 (patch)
tree29c42c1f6ecd086d4da12ef4266b3f0cb38a5779 /contrib/libc++/src/valarray.cpp
parentda24c7987e35b6208d9d89babc94b8fcd8345813 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud