]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r310952:
authorngie <ngie@FreeBSD.org>
Sat, 7 Jan 2017 08:54:02 +0000 (08:54 +0000)
committerngie <ngie@FreeBSD.org>
Sat, 7 Jan 2017 08:54:02 +0000 (08:54 +0000)
commitb735cb7edadcdc14bb6aa4ef1157f876dbefe7fe
tree1292983d442a9d9c73f9a4c237f85603afd8694b
parente7482bc1d4714d175bbbf7b05a49997db377de97
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: 10068271006828
contrib/bsnmp/snmp_mibII/mibII.c