File /trunk/net-snmp/agent/mibgroup/ip-mib/data_access/ipaddress_ioctl.c
If ioctl in function netsnmp_access_ipaddress_ioctl_get_interface_count fails, there is code:
---
snmp_log(LOG_ERR, "bad rc from ioctl, errno %d", errno);
SNMP_FREE(ifc->ifc_buf);
break;
---
So "for" loop will break and function will return "ifc->ifc_len / sizeof(struct ifreq)" which is > 0. When caller tries to use...
2009-11-08 09:00:22 UTC in net-snmp