diff options
author | truckman <truckman@FreeBSD.org> | 2016-05-20 07:11:04 +0000 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2016-05-20 07:11:04 +0000 |
commit | 00907751d3c26492362b736e80ab0d8a3106cc24 (patch) | |
tree | ee65bacc742a98c850a0d945a40b538eeaf41c07 /contrib/libc++/src/valarray.cpp | |
parent | b3a60fa2fe6bf2c62be23db5f3b0e53d5b8d20fb (diff) | |
download | FreeBSD-src-00907751d3c26492362b736e80ab0d8a3106cc24.zip FreeBSD-src-00907751d3c26492362b736e80ab0d8a3106cc24.tar.gz |
MFC r299869
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: 1009974
Diffstat (limited to 'contrib/libc++/src/valarray.cpp')
0 files changed, 0 insertions, 0 deletions