After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 702658 - Segfault on a corrupted (fuzzed) gnumeric file in handle_delayed_names
Segfault on a corrupted (fuzzed) gnumeric file in handle_delayed_names
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: import/export other
git master
Other Linux
: Normal critical
: ---
Assigned To: Morten Welinder
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2013-06-19 14:23 UTC by jutaky
Modified: 2013-06-19 15:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jutaky 2013-06-19 14:23:54 UTC
Segfault on a corrupted (fuzzed) gnumeric file in handle_delayed_names.

Git versions of glib, goffice, gnumeric, libgsf and libxml2.

Test case: http://jutaky.com/fuzzing/gnumeric_case_25553_194.gnumeric

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff79fc4d3 in handle_delayed_names (state=0x7fffffffe2e0) at xml-sax-read.c:2896
2896				nexpr->pos.eval = pp.eval;
(gdb) bt
  • #0 handle_delayed_names
    at xml-sax-read.c line 2896
  • #1 read_file_common
    at xml-sax-read.c line 3343
  • #2 gnm_xml_file_open
    at xml-sax-read.c line 3471
  • #3 go_file_opener_open_real
    at app/file.c line 159
  • #4 go_file_opener_open
    at app/file.c line 417
  • #5 workbook_view_new_from_input
    at workbook-view.c line 1272
  • #6 workbook_view_new_from_uri
    at workbook-view.c line 1332
  • #7 main
    at main-application.c line 321

--
Juha Kylmänen
Research Assistant, OUSPG
Comment 1 Morten Welinder 2013-06-19 15:39:35 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.