Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: Nmap/Lua Compilation Woes
From: "Patrick Donnelly" <batrick.donnelly () gmail com>
Date: Tue, 27 May 2008 08:14:42 -0600

On Tue, May 27, 2008 at 6:44 AM, Richard Moore <rich () westpoint ltd uk> wrote:
Lionel Cons wrote:
Also, looking at the compilation output, I noticed:

liblua/liblua.a(loslib.o)(.text+0x197): In function `os_tmpname':
/tmp/xxx-azs5k0X7/BUILD/liblua/loslib.c:63: warning: the use of `tmpnam' is dangerous, better use `mkstemp'

This should probably be fixed.

This looks like it's compiling a binding for the tmpnam function,
so it isn't a problem.

Cheers

Rich.

--
Richard Moore, Principal Software Engineer,
Westpoint Ltd,
Albion Wharf, 19 Albion Street, Manchester, M1 5LN, England
Tel: +44 161 237 1028
Fax: +44 161 237 1031

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Lua uses mkstemp() when LUA_USE_POSIX is defined, otherwise it uses
tmpnam() (Windows). What system are you building nmap on?

-- 
-Patrick Donnelly

"One of the lessons of history is that nothing is often a good thing
to do and always a clever thing to say."

-Will Durant

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault