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 703006 - Segfault in xml_sax_solver_start on a corrupted (fuzzed) gnumeric file
Segfault in xml_sax_solver_start on a corrupted (fuzzed) gnumeric file
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-24 18:59 UTC by jutaky
Modified: 2013-06-24 19:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jutaky 2013-06-24 18:59:09 UTC
Segfault in xml_sax_solver_start on a corrupted (fuzzed) gnumeric file.

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

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

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff79fb4a7 in xml_sax_solver_start (xin=0x7fffffffe170, attrs=0x8f2090) at xml-sax-read.c:2511
2511		GnmSolverParameters *sp = sheet->solver_parameters;
(gdb) bt
  • #0 xml_sax_solver_start
    at xml-sax-read.c line 2511
  • #1 push_child
    at gsf-libxml.c line 648
  • #2 lookup_child
    at gsf-libxml.c line 684
  • #3 gsf_xml_in_start_element
    at gsf-libxml.c line 758
  • #4 xmlParseStartTag__internal_alias
    at parser.c line 8612
  • #5 xmlParseElement__internal_alias
    at parser.c line 9975
  • #6 xmlParseContent__internal_alias
    at parser.c line 9885
  • #7 xmlParseElement__internal_alias
    at parser.c line 10058
  • #8 xmlParseContent__internal_alias
    at parser.c line 9885
  • #9 xmlParseElement__internal_alias
    at parser.c line 10058
  • #10 xmlParseContent__internal_alias
    at parser.c line 9885
  • #11 xmlParseElement__internal_alias
    at parser.c line 10058
  • #12 xmlParseDocument__internal_alias
    at parser.c line 10742
  • #13 gsf_xml_in_doc_parse
    at gsf-libxml.c line 1289
  • #14 read_file_common
    at xml-sax-read.c line 3345
  • #15 gnm_xml_file_open
    at xml-sax-read.c line 3474
  • #16 go_file_opener_open_real
    at app/file.c line 159
  • #17 go_file_opener_open
    at app/file.c line 417
  • #18 workbook_view_new_from_input
    at workbook-view.c line 1272
  • #19 workbook_view_new_from_uri
    at workbook-view.c line 1332
  • #20 main
    at main-application.c line 321

--
Juha Kylmänen
Research Assistant, OUSPG
Comment 1 Morten Welinder 2013-06-24 19:33:46 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.