[gnumeric] Fuzzed file fixes. [#751060]
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Fuzzed file fixes. [#751060]
- Date: Wed, 17 Jun 2015 06:08:18 +0000 (UTC)
commit 99be5544265aa56d129fce500054e3a781502660
Author: Andreas J. Guelzow <aguelzow pyrshep ca>
Date: Wed Jun 17 00:04:32 2015 -0600
Fuzzed file fixes. [#751060]
2015-06-16 Andreas J. Guelzow <aguelzow pyrshep ca>
* openoffice-read.c (od_series_reg_equation): check whether
regression in fact exists.
NEWS | 1 +
plugins/openoffice/ChangeLog | 5 +++++
plugins/openoffice/openoffice-read.c | 2 ++
3 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index f7ca288..2af7e29 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,7 @@ Andreas:
* Improve function import to ODF. [#750627]
* Add CONFIDENCE.T, MODE.MULT, PERCENTILE.EXC, PERCENTRANK.EXC
and QUARTILE.EXC.
+ * Fuzzed file fixes. [#751060]
Jean:
* Fix xlsx import of plot area manual layout. [#748016]
diff --git a/plugins/openoffice/ChangeLog b/plugins/openoffice/ChangeLog
index b4a4698..2ed33b5 100644
--- a/plugins/openoffice/ChangeLog
+++ b/plugins/openoffice/ChangeLog
@@ -1,5 +1,10 @@
2015-06-16 Andreas J. Guelzow <aguelzow pyrshep ca>
+ * openoffice-read.c (od_series_reg_equation): check whether
+ regression in fact exists.
+
+2015-06-16 Andreas J. Guelzow <aguelzow pyrshep ca>
+
* openoffice-read.c (oo_func_map_in): Add MODE.MULT
* openoffice-write.c (odf_expr_func_handler): Export MODE.MULT
with Microsoft prefix
diff --git a/plugins/openoffice/openoffice-read.c b/plugins/openoffice/openoffice-read.c
index 6d47625..7a1d99e 100644
--- a/plugins/openoffice/openoffice-read.c
+++ b/plugins/openoffice/openoffice-read.c
@@ -9504,6 +9504,8 @@ od_series_reg_equation (GsfXMLIn *xin, xmlChar const **attrs)
gboolean display_r_square = TRUE;
GSList *prop_list = NULL;
+ g_return_if_fail (state->chart.regression != NULL);
+
odf_gog_check_position (xin, attrs, &prop_list);
for (; attrs != NULL && attrs[0] && attrs[1] ; attrs += 2)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]