summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/string/t_strcmp.c
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-01-07 08:53:58 +0000
committerngie <ngie@FreeBSD.org>2017-01-07 08:53:58 +0000
commit0b793cef6c39b220ba01b0ea8f4cafe880c840b6 (patch)
treec105cee1f7c30d308c4d8a6bd2b24bfc1ecc0f9c /contrib/netbsd-tests/lib/libc/string/t_strcmp.c
parent24fad30b6ac3bd4dfb04fa11252aa63b65ede0c0 (diff)
downloadFreeBSD-src-0b793cef6c39b220ba01b0ea8f4cafe880c840b6.zip
FreeBSD-src-0b793cef6c39b220ba01b0ea8f4cafe880c840b6.tar.gz
MFC r310952:
MIB-II: use strlcpy instead of strcpy when copying {descr,name} This is of course to avoid buffer overruns The remaining strcpy instance in the module needs to be audited for correctness CID: 1006827, 1006828
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/string/t_strcmp.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud