freebsd-dev/contrib/bsnmp/lib
Enji Cooper 2e590d595e Use calloc instead of malloc with buffers in snmp_{recv,send}_packet
This doesn't fix the issue noted in the PR, but at the very least it
cleans up the error so it looks a bit more sane, and in the event
that bsnmp did wander off into the weeds, the likelihood of it
crashing with more sensible output is greater, in my opinion

MFC counter set high so I have enough time to resolve the real
underlying bug in bsnmpwalk

MFC after:	1 month
PR:		215721
2017-01-04 07:53:01 +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 Bump .Dd for the spelling and .Nm updates 2017-01-01 05:16:24 +00:00
bsnmplib.3 Fix spelling errors; bump .Dd for the change 2017-01-01 05:23:01 +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 calloc instead of malloc with buffers in snmp_{recv,send}_packet 2017-01-04 07:53:01 +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