[Openvas-commits] r887 - in trunk/openvas-client: . nessus
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Jun 4 15:18:18 CEST 2008
Author: mwiegand
Date: 2008-06-04 15:18:17 +0200 (Wed, 04 Jun 2008)
New Revision: 887
Modified:
trunk/openvas-client/ChangeLog
trunk/openvas-client/nessus/report_save.c
Log:
Fixed bug introduced in Rev 673 on 2008-02-25 that could cause
filename corruption or segfaults when exporting a report with a
format other than NBE.
* nessus/report_save.c: Corrected #define values for file types
other than NBE to sync them with the suffixes in char *suffixes[]
in file_save_ok_callback.
Modified: trunk/openvas-client/ChangeLog
===================================================================
--- trunk/openvas-client/ChangeLog 2008-06-02 19:21:34 UTC (rev 886)
+++ trunk/openvas-client/ChangeLog 2008-06-04 13:18:17 UTC (rev 887)
@@ -1,3 +1,13 @@
+2008-06-04 Michael Wiegand <michael.wiegand at intevation.de>
+
+ Fixed bug introduced in Rev 673 on 2008-02-25 that could cause
+ filename corruption or segfaults when exporting a report with a
+ format other than NBE.
+
+ * nessus/report_save.c: Corrected #define values for file types
+ other than NBE to sync them with the suffixes in char *suffixes[]
+ in file_save_ok_callback.
+
2008-06-01 Michael Wiegand <michael.wiegand at intevation.de>
Removing support of old XML report format according to
Modified: trunk/openvas-client/nessus/report_save.c
===================================================================
--- trunk/openvas-client/nessus/report_save.c 2008-06-02 19:21:34 UTC (rev 886)
+++ trunk/openvas-client/nessus/report_save.c 2008-06-04 13:18:17 UTC (rev 887)
@@ -58,12 +58,12 @@
#include "globals.h"
#define SAVE_NBE 0
-#define SAVE_HTML 2
-#define SAVE_TEXT 3
-#define SAVE_LATEX 4
-#define SAVE_HTML_GRAPH 5
-#define SAVE_PDF 6
-#define SAVE_XML_NG 7
+#define SAVE_HTML 1
+#define SAVE_TEXT 2
+#define SAVE_LATEX 3
+#define SAVE_HTML_GRAPH 4
+#define SAVE_PDF 5
+#define SAVE_XML_NG 6
#define SAVE_MAX SAVE_XML_NG
More information about the Openvas-commits
mailing list