[gnumeric] xls: fuzzed file fix.



commit 8b555ce114b2ae9c384a1b288a8d2c6f2058a52e
Author: Morten Welinder <terra gnome org>
Date:   Thu Jan 7 09:41:17 2016 -0500

    xls: fuzzed file fix.

 NEWS                     |    2 +-
 plugins/excel/ChangeLog  |    3 +++
 plugins/excel/ms-chart.c |    1 +
 3 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index 56aa9b0..250e487 100644
--- a/NEWS
+++ b/NEWS
@@ -10,7 +10,7 @@ Morten:
        * Improve test suite.
        * Fuzzed file fixes.  [#760046] [#760085] [#760087] [#760089]
          [#760043] [#760103] [#760102] [#760101] [#760105] [#760106]
-         [#760104]
+         [#760104] [#760229]
        * Fix R.DBINOM extreme-value case.  [#760230]
 
 --------------------------------------------------------------------------
diff --git a/plugins/excel/ChangeLog b/plugins/excel/ChangeLog
index 854877b..9bdb595 100644
--- a/plugins/excel/ChangeLog
+++ b/plugins/excel/ChangeLog
@@ -1,5 +1,8 @@
 2016-01-07  Morten Welinder  <terra gnome org>
 
+       * ms-chart.c (ms_excel_chart_read): Initialize .legend to NULL.
+       Fixes #760229.
+
        * ms-excel-read.c (excel_read_NAME): Fix computation of array
        length.  Fixes #760104.
 
diff --git a/plugins/excel/ms-chart.c b/plugins/excel/ms-chart.c
index 0cdefb8..b2bd5e9 100644
--- a/plugins/excel/ms-chart.c
+++ b/plugins/excel/ms-chart.c
@@ -3781,6 +3781,7 @@ ms_excel_chart_read (BiffQuery *q, MSContainer *container,
        state.plot  = NULL;
        state.axis  = NULL;
        state.style = NULL;
+       state.legend = NULL;
        for (i = 0; i < 3; i++)
                state.chartline_style[i] = NULL;
        state.dropbar_style = NULL;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]