towerops-agent/native
Graham McIntire 06c45cd404
Fix SIGSEGV in forked SNMP child: remove double init_snmp() call
In Fork mode the parent never calls snmp_init_library(), so
pthread_once remains untriggered. The child called init_snmp()
directly, then snmp_open_session() triggered pthread_once calling
init_snmp() a second time. This double-initialization of libnetsnmp
caused signal 11 in every child process.

Let snmp_open_session() handle initialization via pthread_once,
which correctly initializes exactly once and sets numeric OID format.
2026-02-10 17:35:49 -06:00
..
snmp_helper.c Fix SIGSEGV in forked SNMP child: remove double init_snmp() call 2026-02-10 17:35:49 -06:00
snmp_helper.h Add fork()-based process isolation for SNMP operations 2026-02-10 16:12:41 -06:00