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: Sat, 18 Jul 2009 22:48:24 -0600
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: fd
Thanks 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/#needs 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)