in file mib.c, function _add_strings_to_oid():
* Search for the appropriate child
if (isdigit(*cp)) {
subid = strtoul(cp, &ecp, 0);
if (*ecp)
goto bad_id;
while (tp2 && tp2->subid != subid)
tp2 = tp2->next_peer;
------------ must be this check on line 5092
++++++ if (!tp2)
++++++ goto bad_id;
} else {
while (tp2 && strcmp(tp2->label, fcp))
tp2 = tp2->next_peer;
if (!tp2)
goto bad_id;
subid = tp2->subid;

Aleksandr Lomanov
ICQ#: 170411676

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
Net-snmp-coders mailing list