Hi,
In net-snmp 5.4, File: subagent.c, Function: handle_subagent_response(),
for (u = smagic->ovars, v = pdu->variables; u != NULL && v != NULL;
u = u->next_variable, v = v->next_variable) {
if (snmp_oid_compare
(u->val.objid, u->val_len / sizeof(oid), nullOid,
nullOidLen) != 0) {
/*
* The master agent requested scoping for this variable.
In the snmp_oid_compare() above, the 4th argument above is nullOidLen which
is in bytes(=8bytes), Instead it should be the length of nullOid (=2).
This is causing the above if statement to be always true as snmp_oid_compare
always returns non zero.
I looked in the netsnmp-5.5 pre-release source also but its not fixed there
also? Can anyone please comment?
Thanks,
Manu
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders