[Openvas-commits] r6012 - in trunk/openvas-plugins: . scripts
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Nov 30 10:01:42 CET 2009
Author: mime
Date: 2009-11-30 10:01:38 +0100 (Mon, 30 Nov 2009)
New Revision: 6012
Modified:
trunk/openvas-plugins/ChangeLog
trunk/openvas-plugins/scripts/www_fingerprinting_hmap.nasl
Log:
Avoid message in dump log
Modified: trunk/openvas-plugins/ChangeLog
===================================================================
--- trunk/openvas-plugins/ChangeLog 2009-11-30 08:16:47 UTC (rev 6011)
+++ trunk/openvas-plugins/ChangeLog 2009-11-30 09:01:38 UTC (rev 6012)
@@ -1,3 +1,9 @@
+2009-11-30 Michael Meyer <michael.meyer at intevation.de>
+
+ * scripts/www_fingerprinting_hmap.nasl:
+ Avoid Message in openvas.dump.
+
+
2009-11-26 Chandrashekhar B <bchandra at secpod.com>
* scripts/secpod_phpmyfaq_get_xss_vuln.nasl,
Modified: trunk/openvas-plugins/scripts/www_fingerprinting_hmap.nasl
===================================================================
--- trunk/openvas-plugins/scripts/www_fingerprinting_hmap.nasl 2009-11-30 08:16:47 UTC (rev 6011)
+++ trunk/openvas-plugins/scripts/www_fingerprinting_hmap.nasl 2009-11-30 09:01:38 UTC (rev 6012)
@@ -1887,8 +1887,9 @@
else
wa = strcat(c, b);
- i = 0;
- while (wa[i] == ' ' || wa[i] == '\t' || wa[i] == '\r' || wa[i] == '\n')
+ i = 0;
+ if(max_index(wa) > 0)
+ while (wa[i] == ' ' || wa[i] == '\t' || wa[i] == '\r' || wa[i] == '\n')
i ++;
# We truncate the string, because ereg functions do not work on big strings
wansp = substr(wa, i, i + 2048);
More information about the Openvas-commits
mailing list