GNOME Bugzilla – Bug 705637
R1C1 parsing problems
Last modified: 2013-08-08 14:53:18 UTC
Segfault in link_range_dep on a fuzzed slk file. Git versions of glib, goffice, gnumeric, libgsf and libxml2. Test case: http://jutaky.com/fuzzing/gnumeric_case_30945_13552.slk Program received signal SIGSEGV, Segmentation fault. 0x00007ffff78d072d in link_range_dep (deps=0x874bc0, dep=0x7efa00, r=0x7fffffffe060) at dependent.c:951 951 if (deps->range_hash[i] == NULL) (gdb) bt
+ Trace 232355
-- Juha Kylmänen Research Assistant, OUSPG
==20522== Process terminating with default action of signal 11 (SIGSEGV) ==20522== Bad permissions for mapped region at address 0x1372A188 ==20522== at 0x4EE6E86: link_range_dep (dependent.c:951) ==20522== by 0x4EE8323: link_unlink_cellrange_dep (dependent.c:1009) ==20522== by 0x4EE8760: link_unlink_expr_dep (dependent.c:1076) ==20522== by 0x4EE882A: link_unlink_expr_dep (dependent.c:1100) ==20522== by 0x4EE8DA9: dependent_link (dependent.c:1512) ==20522== by 0x14A4D0F8: sylk_file_open (sylk.c:327) ==20522== by 0x53EAC82: go_plugin_file_opener_open (go-plugin-service.c:685) ==20522== by 0x4FC2DCE: workbook_view_new_from_input (workbook-view.c:1277) ==20522== by 0x4FC301C: workbook_view_new_from_uri (workbook-view.c:1337) ==20522== by 0x404756: convert (ssconvert.c:696) ==20522== by 0x403A2C: main (ssconvert.c:856)
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.