CVSROOT: /cvs Module name: src Changes by: mart...@cvs.openbsd.org 2022/09/13 04:22:07
Modified files: usr.sbin/snmpd : application.c Log message: varbind was designed to allow both a ber NULL and a NULL pointer for value. The ber NULL case is there for when it was received via a PDU. The NULL pointer case can happen if application.c runs into a timeout or when a backend runs into problems. The NULL pointer case however was overlooked in appl_varbind_valid and results in an "missing value" error, (needlessly) terminating the connection to the backend. Found the hard way by Mischa Peters while stress testing agentx support for vmd. OK tb@, sthen@