RFC2578 section 7.1 specifies the ranges and in the case of opaque the
authormartijn <martijn@openbsd.org>
Thu, 8 Feb 2024 17:34:09 +0000 (17:34 +0000)
committermartijn <martijn@openbsd.org>
Thu, 8 Feb 2024 17:34:09 +0000 (17:34 +0000)
commitc3e23a03507c396d1a7f4301862c675ae9791f13
tree56c140bff786d826c3b9c5a354a491d6662aa8c3
parentb00180234d84f197e5597c02aa033eeb104c024d
RFC2578 section 7.1 specifies the ranges and in the case of opaque the
format to which the values need to adhere. Implement checks, so that we
don't send illegal values to the client.

OK tb@
usr.sbin/snmpd/application.c
usr.sbin/snmpd/snmp.h