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 704562 - SIGABRT crash on a fuzzed gnumeric file
SIGABRT crash on a 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-07-19 15:18 UTC by jutaky
Modified: 2013-07-19 16:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jutaky 2013-07-19 15:18:39 UTC
SIGABRT crash on a fuzzed gnumeric file.

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

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

Program received signal SIGABRT, Aborted.
0x00007ffff325c1c9 in raise () from /usr/lib/libc.so.6
(gdb) bt
  • #0 raise
    from /usr/lib/libc.so.6
  • #1 abort
    from /usr/lib/libc.so.6
  • #2 _g_log_abort
    at gmessages.c line 255
  • #3 g_assertion_message
    at gtestutils.c line 2075
  • #4 gnm_style_cond_op_operands
    at style-conditions.c line 87
  • #5 gnm_style_cond_is_valid
    at style-conditions.c line 109
  • #6 gnm_style_conditions_insert
    at style-conditions.c line 413
  • #7 xml_sax_condition_end
    at xml-sax-read.c line 1729
  • #8 gsf_xml_in_end_element
    at gsf-libxml.c line 844
  • #9 xmlParseEndTag1
    at parser.c line 8683
  • #10 xmlParseElement__internal_alias
    at parser.c line 10086
  • #11 xmlParseContent__internal_alias
    at parser.c line 9885
  • #12 xmlParseElement__internal_alias
    at parser.c line 10058
  • #13 xmlParseContent__internal_alias
    at parser.c line 9885
  • #14 xmlParseElement__internal_alias
    at parser.c line 10058
  • #15 xmlParseContent__internal_alias
    at parser.c line 9885
  • #16 xmlParseElement__internal_alias
    at parser.c line 10058
  • #17 xmlParseContent__internal_alias
    at parser.c line 9885
  • #18 xmlParseElement__internal_alias
    at parser.c line 10058
  • #19 xmlParseContent__internal_alias
    at parser.c line 9885
  • #20 xmlParseElement__internal_alias
    at parser.c line 10058
  • #21 xmlParseContent__internal_alias
    at parser.c line 9885
  • #22 xmlParseElement__internal_alias
    at parser.c line 10058
  • #23 xmlParseDocument__internal_alias
    at parser.c line 10742
  • #24 gsf_xml_in_doc_parse
    at gsf-libxml.c line 1289
  • #25 read_file_common
    at xml-sax-read.c line 3350
  • #26 gnm_xml_file_open
    at xml-sax-read.c line 3479
  • #27 go_file_opener_open_real
    at app/file.c line 159
  • #28 go_file_opener_open
    at app/file.c line 417
  • #29 workbook_view_new_from_input
    at workbook-view.c line 1272
  • #30 workbook_view_new_from_uri
    at workbook-view.c line 1332
  • #31 main
    at main-application.c line 321

--
Juha Kylmänen
Research Assistant, OUSPG
Comment 1 Morten Welinder 2013-07-19 16:45:37 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.