Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Nmap Development: [PATCH] Fix libdnet compiler warnings

[PATCH] Fix libdnet compiler warnings

From: Brandon Enright <bmenrigh_at_ucsd.edu>
Date: Fri, 8 Dec 2006 07:13:12 +0000

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
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]