From: SourceForge.net <no...@so...> - 2008-02-21 21:16:42
|
Bugs item #1897991, was opened at 2008-02-20 16:53 Message generated for change (Comment added) made by tanders You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1897991&group_id=12694 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: getting infinite loop in netsnmp_subtree_load( ) Initial Comment: Hi, My code is getting into an infinite loop when I try to add a new subtree that contains the existing one (Net-SNMP release 5.3.0.1, file: agent_registry.c. line: 554 case 1: /* New subtree contains the existing one. */ new2 = netsnmp_subtree_split(new_sub, tree1->end_a,tree1->end_len); res = netsnmp_subtree_load(new_sub, context_name); if (res != MIB_REGISTERED_OK) { netsnmp_subtree_free(new2); return res; } return netsnmp_subtree_load(new2, context_name); Here, it looks that even though 'new2' is part of 'new_sub', we are again loading it to the subtree. Is this correct ? -SK. ---------------------------------------------------------------------- >Comment By: Thomas Anders (tanders) Date: 2008-02-21 22:16 Message: Logged In: YES user_id=848638 Originator: NO moving to bugs. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1897991&group_id=12694 |