As "Core dump with net-snmp-5.8" thread in net-snmp-coder mailing list,
snmpd is terminated abnormally due to an invalid memory access after
the sending of a request is failed.
To fix the issue, this patch and the patch which is attached on Bug#2914
are needed.
A slightly modified version of this patch has been applied on the v5.8 and master branches. Please retest.
I confirmed the issue is fixed and is not reproduced at the latest commit(f39da221a). Thank you for merging the patch!
could anyone please confirm whether applying this patch on release code net-snmp-5.8.zip is enough to solve the SIGABRT on netsnmp_free_delegated_cache() . After applying this patch, SEGFAULT occurs on snmpwalk , snmpget, etc.
Core was generated by `snmpwalk -OQ -v 2c -c localhost 1.3.6.1.4.1.17270.9225.2.1.9.1.2'.
Program terminated with signal 11, Segmentation fault.
Last edit: Bart Van Assche 2020-05-17
Please repeat your test with https://github.com/net-snmp/net-snmp/archive/V5-8-patches.zip. There are many more bug fixes in that archive than only the mentioned patch.