On 20 July 2010 13:43, Joan Landry <joan.lan...@overturenetworks.com> wrote: > I am getting errors in the Lexicographic ordering tests in silvercreek > using netsnmp-5.5 > > Does anyone know if there is a fix for these bugs in netsnmp code? > When I walk the tables - the ordering is correct - but if you specify > the instance on a get-next where the instance in the request is > Lexicographically greater than a row in the table the returned object is > not correct.
Is this a general problem, or does it just affect the example that you mention? Because that particular test seems to be testing the handling of 32-bit overflow. > The request OID > 1.3.6.1.6.3.15.1.2.2.1.3.4294967295.128.0.31.136.128.5.144.12.252.0.0.2. > 100.7.118.51.117.115.101.114.50 Note that the subidentifier value 4294967295 equates to 0xffffffff which is the maximum valid value for an individual subidentifier. Incrementing this value (to identify the next row) on a 32-bit system might easily wrap back to 0, rather than moving on to the next column. I suspect that this may well be what's happening here. Of course, if you are seeing similar errors with other tests (that don't involve such large subidentifiers), then that would indicate a more serious problem! Dave ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users