[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-409813 ] agentX mem leak if OID len > 10
From:       noreply () sourceforge ! net
Date:       2001-03-19 19:46:57
[Download RAW message or body]

Bugs item #409813, was updated on 2001-03-19 11:46
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=112694&aid=409813&group_id=12694

Category: agent
Group: None
Status: Open
Priority: 5
Submitted By: Gopakumar H. Pillai (gopu)
Assigned to: Nobody/Anonymous (nobody)
Summary: agentX mem leak if OID len > 10

Initial Comment:
When an agentx sub-agent is running with an initial 
OID length greater than 10 the agent leaks memory. 
While using top to view the mem usage, I saw the agent 
increasing in size by 8K chunks (probably top rounds 
it to 8k) every few seconds.

How to reproduce:
I used the agentx sample to test it. I changed line 36 
in ustScalarSet.c to simulate it.

original line:
static oid ustScalarSet_variables_oid[] = { 
1,3,6,1,4,1,2021,13,4242,1,1 };

If compiled with the above line the program will leak.

edited line:
static oid ustScalarSet_variables_oid[] = { 
1,3,6,1,4,1,1033,1,5 };

The above line would stop the leak. 

Could any one help fixing this bug. 

Thanks

--Gopu (gopu@hybrid.com)


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=112694&aid=409813&group_id=12694

_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/net-snmp-bugs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic