This is the mail archive of the ecos-cvs@sourceware.org mailing list for the ecos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ecos-opt/snmp/agent/current ChangeLog src/mibg ...


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]