Re: two fixes for net-snmp-5.7.1

2011-11-11 Thread Niels Baggesen
Den 11-11-2011 17:05, Timo Teräs skrev: > Looks about right, assuming there's no clean up skipped. I just did the > patch as a immediate fix without analysing the function further. No, there was only a debug output ... > I also filed a sf.net tracker item about this... Thanks. Applied and closed

Re: two fixes for net-snmp-5.7.1

2011-11-11 Thread Niels Baggesen
Den 11-11-2011 13:04, Timo Teräs skrev: > * netsnmp-swinst-crash.patch >- fixes a crash (happens at least on uclibc systems) when a > closedir(NULL) is executed under certain conditions I would like to fix this in a different way. What do you think about this patch: --- a/agent/mibgroup

Re: two fixes for net-snmp-5.7.1

2011-11-11 Thread Timo Teräs
On 11/11/2011 05:46 PM, Niels Baggesen wrote: > Den 11-11-2011 13:04, Timo Teräs skrev: >> * netsnmp-swinst-crash.patch >>- fixes a crash (happens at least on uclibc systems) when a >> closedir(NULL) is executed under certain conditions > > I would like to fix this in a different way. Wha

Re: two fixes for net-snmp-5.7.1

2011-11-11 Thread Thomas Anders
Timo Teräs wrote: > Find attached two important fixes for net-snmp-5.7.1. > > * netsnmp-arp-netlink-fix.patch > - fixes a problem with my earlier patch that would not reload > the ARP cache if it was once unloaded > - optimises the reload to happen only if the cache was actually > unlo

two fixes for net-snmp-5.7.1

2011-11-11 Thread Timo Teräs
Hi, Find attached two important fixes for net-snmp-5.7.1. * netsnmp-arp-netlink-fix.patch - fixes a problem with my earlier patch that would not reload the ARP cache if it was once unloaded - optimises the reload to happen only if the cache was actually unloaded before * netsnmp-swins