freebsd-dev/contrib/bsnmp/lib
Enji Cooper bfb81e6524 Use strdup in snmp_parse_server(..) when possible instead of malloc+strcpy
This simplifies the code and mutes a Coverity warning about sc->cport being
improperly allocated

Reported by:	Coverity
CID:		1018247
MFC after:	1 week
2016-12-31 11:13:00 +00:00
..
asn1.3 style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
asn1.c style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
asn1.h style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
bsnmpagent.3 style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
bsnmpclient.3 style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
bsnmplib.3 style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
snmp.c Prevent improper memory accesses after calling snmp_pdu_free and snmp_value_free 2016-12-29 00:20:03 +00:00
snmp.h style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
snmpagent.c style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
snmpagent.h style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
snmpclient.c Use strdup in snmp_parse_server(..) when possible instead of malloc+strcpy 2016-12-31 11:13:00 +00:00
snmpclient.h style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
snmpcrypto.c style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
snmppriv.h style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
support.c style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
support.h style(9): clean up trailing whitespace 2016-12-27 23:32:54 +00:00
tc.def Clean some 'svn:executable' properties in the tree. 2013-01-26 22:08:21 +00:00