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 Catch up with the import of bsnmp-1.11. Add a couple of new 2005-10-04 15:03:39 +00:00
modules Instead of explicitly initializing variables to avoid compiler warnings, 2006-12-09 20:58:26 +00:00
Makefile Finish repo-copy of lib/libbsnmp/modules to usr.sbin/bsnmpd/modules. 2005-03-14 17:32:16 +00:00
Makefile.inc