GNOME Bugzilla – Bug 760046
Stack-overflow in expr-name.c:945 in a fuzzed xls file
Last modified: 2016-01-02 00:29:37 UTC
Git versions of gtk, glib, goffice, gnumeric, libgsf and libxml2. Test case: http://jutaky.com/fuzzing/gnumeric_case_001-expr-name.c.945.xls $ ssconvert gnumeric_case_001-expr-name.c.945.xls /tmp/out.gnumeric Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7795ed3 in expr_name_eval (nexpr=<optimized out>, pos=0x7fffffffe408, flags=GNM_EXPR_EVAL_SCALAR_NON_EMPTY) at expr-name.c:945 945 return gnm_expr_top_eval (nexpr->texpr, pos, flags); (gdb) bt
+ Trace 235862
==12963== Stack overflow in thread #1: can't grow stack to 0xffe801000 ==12963== ==12963== Process terminating with default action of signal 11 (SIGSEGV) ==12963== Access not within mapped region at address 0xFFE801FD8 ==12963== Stack overflow in thread #1: can't grow stack to 0xffe801000 ==12963== at 0x4F28CAD: gnm_expr_top_eval (expr.c:3114) -- Juha Kylmänen
Circular name. This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.