freebsd-nq/usr.sbin/bsnmpd/modules
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
..
snmp_atm Use the new bsd.snmpmod.mk makefile to build the modules. The -I pointers 2005-11-10 10:14:57 +00:00
snmp_bridge Instead of explicitly initializing variables to avoid compiler warnings, 2006-12-09 20:58:26 +00:00
snmp_hostres Revise markup. 2006-09-30 19:07:03 +00:00
snmp_mibII A bandaid to unbreak world. 2006-02-27 20:46:34 +00:00
snmp_netgraph Fix prototypes. 2005-11-24 14:23:16 +00:00
snmp_pf Check for altq presence during module init, and allow module to work even if 2005-11-30 21:08:04 +00:00
Makefile Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
Makefile.inc Use the new bsd.snmpmod.mk makefile to build the modules. The -I pointers 2005-11-10 10:14:57 +00:00