Nmap Development mailing list archives

Re: nmap 3.3+V-2.99


From: "Gisle Vanem" <giva () bgnett no>
Date: Sun, 31 Aug 2003 17:55:53 +0200

It's me again. After some investigation I've think I found the cause
all the problems. It seems the menem lib doesn't check the return
value of mmapfile() and silently continues if it fails. 

The Win32 implementation of mmapfile() wasn't working. E.g. it
used code like this:
  (openflags & O_RDONLY) ? PAGE_READONLY ...

in CreateFileMapping() but the file was created as read-only.
Only that O_RDONLY is defined as 0 in MSVC and MingW.
Makes me wonder if Jay tested this on Windows at all?

Gisle V.

# rm /bin/laden 
/bin/laden: Not found 


---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to 
nmap-dev-help () insecure org . List run by ezmlm-idx (www.ezmlm.org).



Current thread: