Nmap Development mailing list archives

Re: Nsock does not pcap_close()


From: Fyodor <fyodor () insecure org>
Date: Tue, 10 Aug 2010 23:16:06 -0700

On Tue, Aug 10, 2010 at 12:45:51AM +0200, Luis MartinGarcia. wrote:
Hi,

I've been debugging Nping with Valgrind and I've noticed that Nsock does
not close the pcap descriptor in nsp_delete() nor it offers something
like nsock_pcap_close(). This is not a big deal at all but I think it
would be nice to improve pcap handling a little so valgrind doesn't
display things like:

I agree, and if you're able to make a patch for this, that will be
great.  In any case I've added it to todo/nmap.txt.

Cheers,
-F
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: