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 702486 - Segfault on a corrupted (fuzzed) ods file in odf_annotation_end
Segfault on a corrupted (fuzzed) ods file in odf_annotation_end
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: import/export OOo / OASIS
git master
Other Linux
: Normal critical
: ---
Assigned To: Andreas J. Guelzow
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2013-06-17 16:17 UTC by jutaky
Modified: 2013-06-17 16:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jutaky 2013-06-17 16:17:21 UTC
Segfault on a corrupted (fuzzed) ods file in odf_annotation_end.

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

Test case: http://jutaky.com/fuzzing/gnumeric_case_15162_5635.ods

Program received signal SIGSEGV, Segmentation fault.
odf_annotation_end (xin=0x7fffffffdd80, blob=0x0) at openoffice-read.c:9164
9164			g_object_set (G_OBJECT (state->cell_comment),
(gdb) bt
  • #0 odf_annotation_end
    at openoffice-read.c line 9164
  • #1 gsf_xml_in_end_element
    at gsf-libxml.c line 844
  • #2 xmlParseElement__internal_alias
    at parser.c line 10010
  • #3 xmlParseContent__internal_alias
    at parser.c line 9885
  • #4 xmlParseElement__internal_alias
    at parser.c line 10058
  • #5 xmlParseContent__internal_alias
    at parser.c line 9885
  • #6 xmlParseElement__internal_alias
    at parser.c line 10058
  • #7 xmlParseContent__internal_alias
    at parser.c line 9885
  • #8 xmlParseElement__internal_alias
    at parser.c line 10058
  • #9 xmlParseContent__internal_alias
    at parser.c line 9885
  • #10 xmlParseElement__internal_alias
    at parser.c line 10058
  • #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 xmlParseDocument__internal_alias
    at parser.c line 10742
  • #16 gsf_xml_in_doc_parse
    at gsf-libxml.c line 1280
  • #17 openoffice_file_open
    at openoffice-read.c line 12039
  • #18 go_plugin_loader_module_func_file_open
    at app/go-plugin-loader-module.c line 282
  • #19 go_plugin_file_opener_open
    at app/go-plugin-service.c line 685
  • #20 go_file_opener_open
    at app/file.c line 417
  • #21 workbook_view_new_from_input
    at workbook-view.c line 1272
  • #22 workbook_view_new_from_uri
    at workbook-view.c line 1332
  • #23 main
    at main-application.c line 321

--
Juha Kylmänen
Research Assistant, OUSPG
Comment 1 Andreas J. Guelzow 2013-06-17 16:43:47 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.