freebsd-dev/usr.sbin/bsnmpd/tools
Enji Cooper c4114bd1f5 Set value->v.octetstring.len to a correct value on malloc success/failure
The previous code always set value->v.octetstring.len to len, regardless
of the result from the malloc call. This misleads the caller on malloc
failure. Set .len to len on success and 0 on failure.

MFC after:	1 week
Reported by:	Coverity
CID:		1007590
2016-12-31 12:14:25 +00:00
..
bsnmptools snmp_pdu_free the right object at the right time in snmptool_walk 2016-12-31 10:01:25 +00:00
libbsnmptools Set value->v.octetstring.len to a correct value on malloc success/failure 2016-12-31 12:14:25 +00:00
Makefile
Makefile.inc Bump WARNS to 6 2016-05-15 00:08:09 +00:00