From: SourceForge.net <no...@so...> - 2009-02-14 21:13:14
|
Patches item #2600820, was opened at 2009-02-14 21:13 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312694&aid=2600820&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: in some situations _add_strings_to_oid() in mib.c works bad Initial Comment: *** mib.c 2008-07-30 11:57:19.000000000 +0400 --- mib1.c 2009-02-14 01:11:28.000000000 +0300 *************** *** 5089,5094 **** --- 5089,5096 ---- goto bad_id; while (tp2 && tp2->subid != subid) tp2 = tp2->next_peer; + if (!tp2) + goto bad_id; } else { while (tp2 && strcmp(tp2->label, fcp)) tp2 = tp2->next_peer; Without this check, when OID contains wrong number, program can go in wrong way. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312694&aid=2600820&group_id=12694 |