From 0564b255595be6d6c7682373ad14c1e1e89532e4 Mon Sep 17 00:00:00 2001 From: batrick Date: Mon, 9 Jun 2008 19:46:54 +0000 Subject: [PATCH] Added jah's patch to fix Script Database bug: http://seclists.org/nmap-dev/2008/q2/0623.html --- CHANGELOG | 3 +++ nse_main.cc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index f29887e65..27c57b5ac 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -45,6 +45,9 @@ o The zoneTrans.nse script now takes a "domain" script argument to specify the desired domain name to transfer. You can narrow the scope down with the form "zoneTrans={domain=xxx}". [Kris] +o Fixed --script-updatedb "aborting" despite success: + http://seclists.org/nmap-dev/2008/q2/0623.html + Nmap 4.65 [2008-6-1] o A Mac OS X Nmap/Zenmap installer is now available from the Nmap diff --git a/nse_main.cc b/nse_main.cc index 47522436c..4a2f43a3d 100644 --- a/nse_main.cc +++ b/nse_main.cc @@ -83,7 +83,7 @@ static int panic (lua_State *L) int script_updatedb (void) { int status; - int ret; + int ret = SCRIPT_ENGINE_SUCCESS; lua_State *L; SCRIPT_ENGINE_VERBOSE(