[ECOS] SNMP package memory leak
Roland Caßebohm
roland.cassebohm@visionsystems.de
Mon Jun 3 07:24:00 GMT 2002
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
Have forget the attachments!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snmp_agent.diff
Type: text/x-diff
Size: 469 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20020603/9b8c75de/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: agent_trap.diff
Type: text/x-diff
Size: 492 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20020603/9b8c75de/attachment-0001.bin>
-------------- next part --------------
--
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