freebsd-skq/contrib/bsnmp/snmpd
Enji Cooper 10a0306a2e lm_load: fix string copying issues
- Ensure `section` doesn't overrun section by using strlcpy instead of
  strcpy [*].
- Use strdup instead of malloc + strcpy (this wasn't flagged by Coverity,
  but is an opportunistic change).

MFC after:	1 week
Reported by:	Coverity
CID:		1006826 [*]
2017-01-05 07:55:17 +00:00
..
action.c style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
BEGEMOT-MIB.txt style(9): clean up trailing whitespace 2016-12-27 23:32:54 +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 style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
main.c lm_load: fix string copying issues 2017-01-05 07:55:17 +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 Fix bsnmpd sending/receiving with multi-homed configurations or INADDR_ANY used 2016-12-28 04:29:09 +00:00
trans_lsock.h style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
trans_udp.c Initialize msg.msg_flags to 0 2017-01-04 01:38:07 +00:00
trans_udp.h Fix bsnmpd sending/receiving with multi-homed configurations or INADDR_ANY used 2016-12-28 04:29:09 +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