ecos-opt/snmp/agent/current ChangeLog src/mibg ...
jld@sourceware.org
jld@sourceware.org
Thu May 21 15:06:00 GMT 2009
CVSROOT: /cvs/ecos
Module name: ecos-opt
Changes by: jld@sourceware.org 2009-05-21 15:06:03
Modified files:
snmp/agent/current: ChangeLog
snmp/agent/current/src/mibgroup/mibII: helpers.c
Log message:
* src/mibgroup/mibII/helpers.c (cyg_snmp_get_if): Rewrite it so that
when passed if_num<=0 it will no longer go into a 2^32 iteration
loop that walks through all of memory and then returns a rogue
pointer
* src/mibgroup/mibII/helpers.c (cyg_snmp_num_interfaces): Rewrite
it to to use the same (simpler, more obviously correct) loop
structure that cyg_snmp_get_if() now uses.
More information about the Ecos-cvs
mailing list