freebsd-dev/usr.sbin/bsnmpd
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
..
bsnmpd Don't explicitly build tcp wrappers support into bsnmpd; make it conditional 2016-12-28 16:34:49 +00:00
gensnmptree Add META_MODE support. 2015-06-13 19:20:56 +00:00
modules Fix the build by moving the initializers for len/nswapdev down below the 2016-12-28 08:11:41 +00:00
tools Set value->v.octetstring.len to a correct value on malloc success/failure 2016-12-31 12:14:25 +00:00
Makefile
Makefile.inc Add a bsnmp package 2015-03-18 13:01:09 +00:00