Commit b9230662 authored by Morten Welinder's avatar Morten Welinder

Slicer: fix precondition.

parent 837ff060
2016-01-02 Morten Welinder <terra@gnome.org>
* src/go-data-cache.c (go_data_cache_records_set_size): Check for
zero record size. Fixes #760087.
* src/mathfunc.c (pow1p): Handle nan. Fixes #760085.
2016-01-01 Morten Welinder <terra@gnome.org>
......
......@@ -8,7 +8,7 @@ Andreas:
Morten:
* Teach ssconvert to split sheets into separate .txt files [#694408]
* Improve test suite.
* Fuzzed file fixes. [#760046] [#760085]
* Fuzzed file fixes. [#760046] [#760085] [#760087]
--------------------------------------------------------------------------
Gnumeric 1.12.26
......
......@@ -49,6 +49,7 @@ go_data_cache_records_set_size (GODataCache *cache, unsigned int n)
{
int expand;
g_return_if_fail (cache->record_size > 0);
g_return_if_fail (n < G_MAXUINT / cache->record_size);
expand = n - cache->records_allocated;
......
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