freebsd-skq/usr.sbin/bsnmpd
Enji Cooper 81910adfc4 Fix theoretical buffer overflow issues in snmp_oid2asn_oid
Increase the size of `string` by 1 to account for the '\0' terminator. In the event
that `str` doesn't contain any non-alpha chars, i would be set to MAXSTR, and
the subsequent strlcpy call would overflow by a character.

Remove unnecessary `string[i] = '\0'` -- this is already handled by strlcpy.

MFC after: 1 week
Reported by: clang
Sponsored by: EMC / Isilon Storage Division
2016-05-14 21:32:52 +00:00
..
bsnmpd DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
gensnmptree Add META_MODE support. 2015-06-13 19:20:56 +00:00
modules MFH 2016-03-02 16:14:46 +00:00
tools Fix theoretical buffer overflow issues in snmp_oid2asn_oid 2016-05-14 21:32:52 +00:00
Makefile
Makefile.inc Add a bsnmp package 2015-03-18 13:01:09 +00:00