Menu

#1936 memory leak in agentx

agentx
closed
nobody
agent (1105)
5
2012-11-08
2008-03-12
Anton Pak
No

There is memory leak in agentx application.
PDU is not freed when subagent cannot send it.

The patch is attached (svn trunk is a base).

Anton Pak
Pigeon Point Systems

Discussion

  • Anton Pak

    Anton Pak - 2008-03-12
     
  • Dave Shield

    Dave Shield - 2008-05-27

    Logged In: YES
    user_id=88893
    Originator: NO

    Thanks for the bug report!
    We've fixed the problem in the 5.3.x and 5.4.x
    code branches and the main development tree,
    so it should be fixed in future releases of the
    Net-SNMP package.

     
  • Dave Shield

    Dave Shield - 2008-05-27

    Logged In: YES
    user_id=88893
    Originator: NO

    SVN revision 16972

     
  • Anton Pak

    Anton Pak - 2008-05-28

    Logged In: YES
    user_id=1858377
    Originator: YES

    One issue:

    File net-snmp/agent/mibgroup/agentx/subagent.c
    Line 590:

    snmp_async_send(..)

    shall be

    result = snmp_async_send(..)

     
  • Dave Shield

    Dave Shield - 2008-05-28

    Logged In: YES
    user_id=88893
    Originator: NO

    Oops!
    Now fixed.
    Thanks

     

Log in to post a comment.

MongoDB Logo MongoDB