freebsd-nq/usr.sbin/bsnmpd
Shteryana Shopova 5b6598a8c2 Instead of explicitly initializing variables to avoid compiler warnings,
add a default case to handle the situation when the variables are not
initialized.
Furthermore, abort() if the snmp agent passes an invalid option to the
bridge module. As the option (SET, GET, GETNEXT, COMMIT, ROLLBACK) is
determined by the snmp agent based on the operation requested by user,
this behaviour is unlikely to be abused as a source for a DoS, but if
ever hit will likely reveal a problem in the snmp agent or bridge
module.

Approved by:    bz (mentor)
2006-12-09 20:58:26 +00:00
..
bsnmpd Make the generated oid.h dependend on the Makefile. The Makefile defines 2006-11-08 10:36:57 +00:00
gensnmptree
modules Instead of explicitly initializing variables to avoid compiler warnings, 2006-12-09 20:58:26 +00:00
Makefile
Makefile.inc