Nmap Development mailing list archives
Re: [PATCH] Use access() to fix fileexistsandisreadable()
From: Fyodor <fyodor () insecure org>
Date: Wed, 6 Sep 2006 21:19:41 -0700
On Tue, Sep 05, 2006 at 01:14:34PM -0500, Kris Katterjohn wrote:
The attached patch fixes fileexistsandisreadable() in nmap.cc by using access() to test for readability instead of bitwise ANDing the mode and S_IRUSR. S_IRUSR only tests to see if the FILE's owner has read
Thanks. This looks good and I've applied it for the next version. Cheers, -F _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- [PATCH] Use access() to fix fileexistsandisreadable() Kris Katterjohn (Sep 05)
- Re: [PATCH] Use access() to fix fileexistsandisreadable() Fyodor (Sep 06)