use-after-free in _sess_open() cause a crash on OpenBSD 6.1-CURRENT
It seems like that patch has been generated against an old version of Net-SNMP? Anyway, a somewhat modified version of this patch has been applied on the v5.7 and master branches. See also https://sourceforge.net/p/net-snmp/code/ci/d687248669257328805cf0a6ff00428d0f8db66c/.
CHANGES: BUG: 2803: Fix a use-after-free in _sess_open()
Merge branch 'V5-7-patches'
scripts/specialize-patch: Fix #elif handling
qla2x00t: Fix scst_debug.h include path for the in-tree build
scst/include/backport.h: Follow-up for r7248
scst: Fix SCSI pass-through for kernel version v4.11 and later