This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SNMP package memory leak


On Mon, 2002-06-03 at 09:35, Roland Caßebohm wrote:
> 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.

Sorry, my mistake, I was thinking about the DNS code (which did have 
some memory leak problems fixed recently).


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]