Commit 42417d52 authored by Morten Welinder's avatar Morten Welinder

xlsx: fuzzed file fix.

parent 26116332
2016-02-08 Morten Welinder <terra@gnome.org>
* src/graph.c (gnm_go_data_vector_eval)
(gnm_go_data_vector_finalize): Plug leak.
2016-02-06 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
......
Gnumeric 1.12.28
Morten:
* Fuzzed file fixes. [#761663]
* Fuzzed file fixes. [#761663] [#761727]
* Plug leak.
--------------------------------------------------------------------------
Gnumeric 1.12.27
......
2016-02-08 Morten Welinder <terra@gnome.org>
* xlsx-read-drawing.c (xlsx_chart_layout_target): Do proper
parsing. Fixes #761727.
2016-02-07 Morten Welinder <terra@gnome.org>
* xlsx-read-drawing.c (xlsx_rpr_latin): Check that null style.
......
......@@ -2245,7 +2245,14 @@ static void
xlsx_chart_layout_target (GsfXMLIn *xin, xmlChar const **attrs)
{
XLSXReadState *state = (XLSXReadState *)xin->user_state;
state->chart_pos_target = !(attrs[1] && strcmp (attrs[1], "inner"));
static const EnumVal choices[] = {
{ "outer", FALSE },
{ "inner", TRUE },
{ NULL, 0 }
};
int choice = FALSE;
(void)simple_enum (xin, attrs, choices, &choice);
state->chart_pos_target = choice;
}
static void
......
......@@ -493,7 +493,7 @@ gnm_go_data_vector_eval (GnmDependent *dep)
vec->markup = NULL;
}
if (vec->strs) {
g_ptr_array_free (vec->strs, FALSE);
g_ptr_array_free (vec->strs, TRUE);
vec->strs = NULL;
}
go_data_emit_changed (GO_DATA (vec));
......@@ -515,7 +515,7 @@ gnm_go_data_vector_finalize (GObject *obj)
vec->markup = NULL;
}
if (vec->strs) {
g_ptr_array_free (vec->strs, FALSE);
g_ptr_array_free (vec->strs, TRUE);
vec->strs = NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment