Re: snmpd: allow NULL in appl_varbind_valid

2022-09-13 Thread Theo Buehler
On Tue, Sep 13, 2022 at 12:00:48PM +0200, Martijn van Duren wrote: > 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

snmpd: allow NULL in appl_varbind_valid

2022-09-13 Thread Martijn van Duren
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