freebsd-skq/contrib/bsnmp/snmpd
ngie 04c06b4e9d bsnmpd: fix segfault when trans_insert_port(..) is called with multiple
out of order addresses

Move `port->transport` initialization before the TAILQ_FOREACH(..) loop
to ensure that the value is properly initialized before it's inserted
into the TAILQ.

MFC after:	1 week
PR:		217760
Submitted by:	eugen
Sponsored by:	Dell EMC Isilon
2017-03-13 18:01:01 +00:00
..
action.c style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
BEGEMOT-MIB.txt Add a REVISION section to track changes for the BEGEMOT-MIB MIB file 2017-01-09 06:27:30 +00:00
BEGEMOT-SNMPD.txt style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
bsnmpd.1 Fix .Dd 2016-05-15 03:44:32 +00:00
config.c style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
export.c Similar to r310954, set .len to 0 on malloc failure and to len only 2016-12-31 12:37:53 +00:00
FOKUS-MIB.txt Add a REVISION section to track changes for the FOKUS-MIB MIB file 2017-01-09 06:24:28 +00:00
main.c bsnmpd: fix segfault when trans_insert_port(..) is called with multiple 2017-03-13 18:01:01 +00:00
snmpd.config style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
snmpd.h Fix bsnmpd sending/receiving with multi-homed configurations or INADDR_ANY used 2016-12-28 04:29:09 +00:00
snmpd.sh style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
snmpmod.3 style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
snmpmod.h Use uint32_t instead of u_int32_t for or_last_change and services in "struct systemg" 2016-12-29 08:16:43 +00:00
trans_lsock.c Use calloc instead of malloc + memset(.., 0, ..) 2017-01-05 08:17:17 +00:00
trans_lsock.h style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
trans_udp.c Fix regression from r310655, which broke operation of bsnmpd if it is bound 2017-01-17 03:52:57 +00:00
trans_udp.h Fix regression from r310655, which broke operation of bsnmpd if it is bound 2017-01-17 03:52:57 +00:00
trap.c Use strlcpy when copying com to pdu->community to avoid potential 2016-12-31 12:18:17 +00:00
tree.def style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00