Initialize oidbuf and regionbuf when registering a region in appl_region.
authormartijn <martijn@openbsd.org>
Mon, 27 Jun 2022 10:25:32 +0000 (10:25 +0000)
committermartijn <martijn@openbsd.org>
Mon, 27 Jun 2022 10:25:32 +0000 (10:25 +0000)
commit002d07d7257242147ab6f3cd45990b0c17cc6d1e
tree90b52cc4f5b18205681dbcd49293ec95b003176f
parent5a2857b60bf0135a745069460ea8351096188344
Initialize oidbuf and regionbuf when registering a region in appl_region.
This prevents us from spewing garbage on error.

regionbuf case pointed out by tb@

OK deraadt@ tb@
usr.sbin/snmpd/application.c