Re: Memory leak in 5.7.2.1, _sess_process_packet?

2014-07-11 Thread Sean Burke
I've observed the leak with GET and v3 AuthNoPriv. I believe that GET-NEXT and GET-BULK would show the problem also. I am running an agent session that receives these requests. -SEan On Jul 8, 2014, at 11:10 AM, Bill Fenner wrote: On Tue, Jun 24, 2014 at 3:47 AM, Sean Burke

Re: Memory leak in 5.7.2.1, _sess_process_packet?

2014-07-09 Thread Bill Fenner
I tried running top while servicing SNMPv3 get requests. Results: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 3585 root 20 0 13168 2988 1008 S 0.0 0.1 0:00.05 snmpd 3585 root 20 0 13168 2988 1008 S 0.0 0.1 0:00.05 snmpd 3585 root 20 0

Memory leak in 5.7.2.1, _sess_process_packet?

2014-07-08 Thread Sean Burke
Hi All, I am writing to ask about this code in 5.7.2.1 snmp_api.c at line 5423. I am specifically concerned with the constraint pdu-command == SNMP_MSG_TRAP2, which appears to interfere with freeing the securityStateRef for request command types, e.g. GET, SET, GET-NEXT, GET-BULK. Testing with

Re: Memory leak in 5.7.2.1, _sess_process_packet?

2014-07-08 Thread Bill Fenner
On Tue, Jun 24, 2014 at 3:47 AM, Sean Burke sean.bu...@pacbell.net wrote: Hi All, I am writing to ask about this code in 5.7.2.1 snmp_api.c at line 5423. I am specifically concerned with the constraint pdu-command == SNMP_MSG_TRAP2, which appears to interfere with freeing the