[ECOS] SNMP package memory leak

Roland Caßebohm roland.cassebohm@visionsystems.de
Mon Jun 3 08:35:00 GMT 2002


On Monday, 3. June 2002 16:35, Gary Thomas wrote:
> On Mon, 2002-06-03 at 08:24, Roland Caßebohm wrote:
> > On Monday, 3. June 2002 16:15, Roland Caßebohm wrote:
> > > I have found a memory leak in the SNMP package and put the patches as
> > > attachments to this mail.
> > >
> > > Another problem seems to be SNMP package is not thread save. If I want
> > > to use the SNMP as agent and as client, both of them want to use the
> > > same resources. As an example there is one global list of users
> > > (userList). If the client wants to send a request to the agent (over
> > > localhost with v3), the client looks at the global user list and found
> > > the user in it with the corresponding password key (it's the one from
> > > the agent). The request uses this one instead of the self generated key
> > > and of course get a positive answer.
> > > Maybe I change the source code so that the userList is a part of a
> > > session structure. Because of the client and the agent have different
> > > sessions they allthough have then different userlists.
> > >
> > > If somebody has made something like this please let me know.
> > >
> > >
> > > Thanks,
> > > Roland
>
> Can you check these against the latest anonymous CVS sources?  There
> have been changes in this area recently, especially wrt memory leaks.

Last friday I have checked against the cvs sources at 
ftp://ftp.skynet.ie/cvs/ecos/, but the leaks were still there.

Roland

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list