[Openvas-commits] r6246 - in trunk/openvas-plugins: . scripts

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Dec 23 11:32:53 CET 2009


Author: mime
Date: 2009-12-23 11:32:50 +0100 (Wed, 23 Dec 2009)
New Revision: 6246

Modified:
   trunk/openvas-plugins/ChangeLog
   trunk/openvas-plugins/scripts/secpod_ruby_detect_win.nasl
Log:
Avoid "nasl_array_iterator: unhandled type 57 (0x39)" messages

Modified: trunk/openvas-plugins/ChangeLog
===================================================================
--- trunk/openvas-plugins/ChangeLog	2009-12-23 09:32:55 UTC (rev 6245)
+++ trunk/openvas-plugins/ChangeLog	2009-12-23 10:32:50 UTC (rev 6246)
@@ -1,3 +1,9 @@
+2009-12-23 Michael Meyer <michael.meyer at intevation.de>
+
+	* scripts/secpod_ruby_detect_win.nasl:
+	Avoid "nasl_array_iterator: unhandled type 57 (0x39)" messages
+	in dump log.
+
 2009-12-23  Chandrashekhar B <bchandra at secpod.com>
 
 	* scripts/secpod_ibm_udb_db2_mult_vuln_win.nasl,

Modified: trunk/openvas-plugins/scripts/secpod_ruby_detect_win.nasl
===================================================================
--- trunk/openvas-plugins/scripts/secpod_ruby_detect_win.nasl	2009-12-23 09:32:55 UTC (rev 6245)
+++ trunk/openvas-plugins/scripts/secpod_ruby_detect_win.nasl	2009-12-23 10:32:50 UTC (rev 6246)
@@ -55,6 +55,11 @@
 }
 
 key = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";
+
+if(!registry_key_exists(key:key)){
+      exit(0);
+}
+
 foreach item (registry_enum_keys(key:key))
 {
   name = registry_get_sz(key:key + item, item:"DisplayName");



More information about the Openvas-commits mailing list