mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 20:29:03 +00:00
addr_stob didn't handle the special case of the sa_len member of struct sockaddr being equal to 0 and accessed unrelated memory past the end of the sockaddr. A symptom of this was the fatal error nexthost: failed to determine route to ... which was caused by the default route being assigned a netmask other than 0.0.0.0.
libdnet ------- libdnet provides a simplified, portable interface to several low-level networking routines, including network address manipulation, kernel arp(4) cache and route(4) table lookup and manipulation, network firewalling, network interface lookup and manipulation, IP tunnelling, and raw IP packet and Ethernet frame transmission. WWW: http://libdnet.sourceforge.net/ $Id: README 578 2005-02-14 21:00:17Z dugsong $