#997 Memory leak in ipAddressPrefixTable

closed
nobody
None
5
2012-11-09
2009-07-16
No

Version: 5.4.2.1 (+SUSE Patches) on SLES11

Valgrind says:
==20263== 1,620 bytes in 45 blocks are definitely lost in loss record 111 of 131
==20263== at 0x482064B: calloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==20263== by 0x214F39: _ba_iterator_get (container_binary_array.c:717)
==20263== by 0xFF189: ipAddressPrefixTable_container_load (ipAddressPrefixTable_data_access.c:217)
==20263== by 0xC7700: _cache_load (cache_handler.c:537)
==20263== by 0xC84C4: netsnmp_cache_helper_handler (cache_handler.c:477)
==20263== by 0xA5487: netsnmp_call_next_handler (agent_handler.c:435)
==20263== by 0xC9B88: table_helper_handler (table.c:619)
==20263== by 0xA4C66: netsnmp_call_handlers (agent_handler.c:435)
==20263== by 0x9427D: handle_var_requests (snmp_agent.c:2542)
==20263== by 0x95477: handle_getnext_loop (snmp_agent.c:2982)
==20263== by 0x982B7: netsnmp_handle_request (snmp_agent.c:3134)
==20263== by 0x9878C: handle_snmp_packet (snmp_agent.c:1864)

Patch attached.

Discussion

  • Thomas Anders

    Thomas Anders - 2009-07-16

    moving to patches

     
  • Dave Shield

    Dave Shield - 2009-08-05

    Thanks for the patch! It has been applied to the 5.3.x and 5.4.x code branches and the main development tree, and will appear in future releases of the Net-SNMP package.

     
  • Dave Shield

    Dave Shield - 2009-08-05

    SVN revision 17722

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks