Maks N. Polunin

Show:

What's happening?

  • segfault in ipaddress_ioctl.c

    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

About Me

  • 2003-02-05 (7 years ago)
  • 705410
  • maks_polunin (My Site)
  • Maks N. Polunin

Send me a message