Compiling Nmap 4.20 with GCC 4.1.1 on my Linux box produces the following 4
warnings in the libdnet code:
addr-util.c: In function 'ip6_ntop':
addr-util.c:177: warning: 'cur.len' may be used uninitialized in this
function addr-util.c:177: warning: 'best.len' may be used uninitialized in
this function intf.c: In function 'intf_get_dst':
intf.c:626: warning: pointer targets in passing argument 3 of 'getsockname'
differ in signedness ip.c: In function 'ip_open':
ip.c:43: warning: pointer targets in passing argument 5 of 'getsockopt'
differ in signedness
I know it's rather nit-picky but I've attached a patch anyways.
Brandon
--
Brandon Enright
Network Security Analyst
UCSD ACS/Network Operations
bmenrigh_at_ucsd.edu
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Received on Dec 07 2006