]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r294507,r294567,r299466:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 8 Jun 2016 17:49:03 +0000 (17:49 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 8 Jun 2016 17:49:03 +0000 (17:49 +0000)
commitf645147c0691535cd0fcb10659f7315efefb235b
tree4348f49b0603c1df543d0e99a103d54a9cb01ddf
parentc9a3157874e5db690bfc0f7b1763ab7b9503c66b
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/10@301663 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