From: SourceForge.net <no...@so...> - 2011-02-16 00:38:49
|
Bugs item #3182985, was opened at 2011-02-16 00:38 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3182985&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: agent Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: https://www.google.com/accounts () Assigned to: Nobody/Anonymous (nobody) Summary: netsnmp_oid_find_prefix() returns wrong length Initial Comment: Software Version Number: 5.6.1, I think. Just downloaded the code today. Operating System: Solaris If the loop finds a pair of OIDs which don't match the function returns a length value which is too large by one. Also, the comment describing the return value is hard to read. Attached is a context diff which shows a code fix for this problem. Also attached are two test programs which compare the output for the two different versions of the function. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3182985&group_id=12694 |