Commit 9ab86493 authored by Morten Welinder's avatar Morten Welinder

Cell: fuzzed file fix.

parent 9865878f
2015-05-11 Morten Welinder <terra@gnome.org>
* src/cell.c (gnm_cell_set_array): Improve preconditions.
2015-05-09 Morten Welinder <terra@gnome.org>
* src/mstyle.c (gnm_style_set_font_uline): Add sanity check.
......
......@@ -16,6 +16,7 @@ Morten:
* Plug leaks.
* Fuzzed file fixes. [#748595] [#748597] [#749031] [#749030]
[#749069] [#748533] [#749118] [#749166] [#749181] [#749184]
[#749236]
* Make solver check linearity of model.
* Fix xls saving of marker style. [#749185]
......
......@@ -389,6 +389,8 @@ gnm_cell_set_array (Sheet *sheet,
{
g_return_val_if_fail (sheet != NULL, FALSE);
g_return_val_if_fail (range_is_sane (r), FALSE);
g_return_val_if_fail (r->end.row < gnm_sheet_get_max_rows (sheet), FALSE);
g_return_val_if_fail (r->end.col < gnm_sheet_get_max_cols (sheet), FALSE);
g_return_val_if_fail (texpr != NULL, FALSE);
if (sheet_range_splits_array (sheet, r, NULL, NULL, NULL))
......
......@@ -596,7 +596,7 @@ range_is_full (GnmRange const *r, Sheet const *sheet, gboolean horiz)
* Clip the range to the area of the sheet with content.
* if the range reaches the edge
*
* The idea here is that users may select a whole column or ow when they
* The idea here is that users may select a whole column or row when they
* really are only concerned with the extent of the sheet.
* On the otehr hand, if users select any smaller region they probably
* intend to selec tjust that.
......
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