Nmap Development mailing list archives

Re: [PATCH] --script-updatedb finishes with "Aborting database update."


From: "Patrick Donnelly" <batrick.donnelly () gmail com>
Date: Mon, 9 Jun 2008 13:51:41 -0600

On Fri, Jun 6, 2008 at 8:16 AM, jah <jah () zadkiel plus com> wrote:
Hi all,

I'm getting the following with --script-updatedb:

Starting Nmap 4.65 ( http://nmap.org ) at 2008-06-06 14:59 GMT Standard Time
NSE script database updated successfully.
SCRIPT ENGINE: Aborting database update.
Nmap done: 0 IP addresses (0 hosts up) scanned in 0.078 seconds

which seems to be caused by comparing "ret" in nse_main.cc:125 without
it being initialised.

I'm not quite certain that the attached patch is the best way to fix
that, but it works for me and doesn't look like it would cause any problems.

Regards,

jah

I've applied this patch.

Thanks Jah,

-- 
-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


Current thread: