Hello, all!

For what used reverse asn encoding ?
And in snmp_pdu_realloc_rbuild() i found bug.
It works okay when count of pdu->variables is less than 50.
When count of variables is more than 50, it repeates first 50 variables
twice and exits.
Code in snmp_pdu_realloc_rbuild() from:
    DEBUGMSGTL(("snmp_pdu_realloc_rbuild", "starting\n"));
    for (vp = pdu->variables, i = VPCACHE_SIZE - 1; vp;
         vp = vp->next_variable, i--) {
until:
        } else {
            notdone = 0;
        }
    } while (notdone);
strange for a little.
What for used cache ? Which it role ?


Aleksandr Lomanov
ICQ#: 170411676


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to