Aleksandr Lomanov wrote: > I found the problem in function do_linkup(). > After init_node_hash() call, > all checks "if (!np) return;" are illegal. > Second parameter of do_linkup() "struct node *np" > points to first element of node list. > The call of init_node_hash(np) hashes the one node list > to several node lists, and np points to one of them. > If MIB file written correctly, memory of all nodes in nbuckets array > freed. > Otherwise, memory of left nodes in nbuckets array not freed.
Can you please submit this to the bug tracker (http://www.net-snmp.org/bugs) so it won't get lost? If you could come up with a proposed patch, please submit it to http://www.net-snmp.org/patches . Thanks! +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
