]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFstable/10 r301663:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 8 Jun 2016 17:50:51 +0000 (17:50 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 8 Jun 2016 17:50:51 +0000 (17:50 +0000)
commitf913f2696da34f93711c51328857522a4df43983
tree93dbd7fe02133bab54dc2e8d6b211d6e539fc76a
parent47e23db6537a1a86ab1252015af22d803fe7abb8
MFstable/10 r301663:

MFC r294507,r294567,r299466:

r294507 (by harti):

Fill the ifAlias leaf of the ifXTable with the interface description
if there is one available and it fits into the maximum size (64 characters).

r294567 (by bz):

Change the variable to a #define in order to make gcc happy which
otherwise will complain about "variably modified 'alias' at file scope".
Unbreaks the build on gcc platforms.

r299466 (by cem):

bsnmpd: Fix size of trapsink::comm to match other community arrays

This fixes a number of possible strcpy() buffer overruns between the various
community strings in trap.c.

CIDs: 100682010068211006822

git-svn-id: svn://svn.freebsd.org/base/stable/9@301664 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/bsnmp/snmp_mibII/mibII.c
contrib/bsnmp/snmp_mibII/mibII.h
contrib/bsnmp/snmp_mibII/mibII_interfaces.c
contrib/bsnmp/snmpd/snmpd.h