Hi, everybody,

I am running into a core dump in
netsnmp_check_outstanding_agent_requests().
It is v5.0.9 and on Linux. 
The following is the gdb output. It seems that a session in
agent_delegated_list has been freed but has not been set to NULL. Has
anybody seen this problem or know the fix?
--------------
#0  0xf65d98b8 in netsnmp_check_outstanding_agent_requests () at
snmp_agent.c:2165
2165                    prev_asp->next = asp->next;
(gdb) where
#0  0xf65d98b8 in netsnmp_check_outstanding_agent_requests () at
snmp_agent.c:2165
#1  0x0804c368 in receive () at snmpd.c:1222
#2  0x0804b647 in main (argc=9, argv=0xfeffe4d4) at snmpd.c:974
(gdb) p prev_asp
$1 = (netsnmp_agent_session *) 0x83047d0
(gdb) p *prev_asp
Cannot access memory at address 0x83047d0
---------------

Thanks,

FT



_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to