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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Oct 21 12:25:41 CEST 2009


Author: mime
Date: 2009-10-21 12:25:38 +0200 (Wed, 21 Oct 2009)
New Revision: 5660

Modified:
   trunk/openvas-plugins/ChangeLog
   trunk/openvas-plugins/scripts/cvs_detect.nasl
Log:
Bugfix

Modified: trunk/openvas-plugins/ChangeLog
===================================================================
--- trunk/openvas-plugins/ChangeLog	2009-10-21 09:59:07 UTC (rev 5659)
+++ trunk/openvas-plugins/ChangeLog	2009-10-21 10:25:38 UTC (rev 5660)
@@ -1,3 +1,8 @@
+2009-10-20  Michael Meyer <michael.meyer at intevation.de>
+
+	* scripts/cvs_detect.nasl:
+	Close socket only if it was opened succesfully.
+
 2009-10-21  Chandrashekhar B <bchandra at secpod.com>
 
 	* scripts/gb_xerver_http_server_code_disclosure_vuln.nasl,

Modified: trunk/openvas-plugins/scripts/cvs_detect.nasl
===================================================================
--- trunk/openvas-plugins/scripts/cvs_detect.nasl	2009-10-21 09:59:07 UTC (rev 5659)
+++ trunk/openvas-plugins/scripts/cvs_detect.nasl	2009-10-21 10:25:38 UTC (rev 5660)
@@ -57,8 +57,6 @@
   {
     security_note(port);
   }
+  close(soc);
  }
-
- close(soc);
-
 }



More information about the Openvas-commits mailing list