Nmap Development mailing list archives
Re: found a resource leak in file nmap-5.0/libpap/pcap-dlpi.c
From: David Fifield <david () bamsoftware com>
Date: Sun, 19 Jul 2009 09:59:04 -0600
On Sun, Jul 19, 2009 at 01:24:40PM +0200, Martin Ettl wrote:
On Fri, Jul 17, 2009 at 10:09:45AM +0200, Martin Ettl wrote:i have checked the sources of nmap-5.00 with the static code analyis tool cppcheck (http://cppcheck.wiki.sourceforge.net/). It found a resource leak in file nmap-5.0/libpap/pcap-dlpi.c at line 1097 in function pcap_platform_finddevs(...). The tool prints the following output: /nmap-5.00/libpcap/pcap-dlpi.c,1097,error,Resource leak: fdThanks for the report. It is a real leak. libpcap is an outside project whose source is included with Nmap. It would help if you could check if this problem exists in a current version of libpcap, and if so, report it to the developers. http://www.tcpdump.org/#needsi can't acces the URL: http://www.tcpdump.org/#needs
Hmm, I cut and pasted it from my browser only yesterday, but now I can't access it either. I get a host unreachable from 209.87.252.134. It's probably a temporary error. Try again later and try their "how to help" link. David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- found a resource leak in file nmap-5.0/libpap/pcap-dlpi.c Martin Ettl (Jul 17)
- <Possible follow-ups>
- found a resource leak in file nmap-5.0/libpap/pcap-dlpi.c Martin Ettl (Jul 18)
- Re: found a resource leak in file nmap-5.0/libpap/pcap-dlpi.c David Fifield (Jul 18)
- Message not available
- Re: found a resource leak in file nmap-5.0/libpap/pcap-dlpi.c David Fifield (Jul 19)
- Re: found a resource leak in file nmap-5.0/libpap/pcap-dlpi.c Solar Designer (Jul 21)
- Re: found a resource leak in file nmap-5.0/libpap/pcap-dlpi.c Martin Ettl (Jul 26)
- Re: found a resource leak in file nmap-5.0/libpap/pcap-dlpi.c David Fifield (Jul 18)