GNOME Bugzilla – Bug 568994
Null pointer crash in oo_table_start()
Last modified: 2009-01-26 18:53:55 UTC
Version: r17090 OS: Ubuntu Intrepid The upcoming .ods attachment is a fuzzed version of the file from http://bugs.kde.org/show_bug.cgi?id=136931. Steps to reproduce: - Import the upcoming, fuzzed attachment Partial console output (XML criticals and general warnings ignored): CRITICAL **: gsf_xml_in_end_document: assertion `state->pub.node == &state->pub.doc->root_node->pub' failed CRITICAL **: oo_style: assertion `state->cur_style_type == OO_STYLE_UNKNOWN' failed Backtrace: Program received signal SIGSEGV, Segmentation fault.
+ Trace 211828
Thread 3067520768 (LWP 31112)
Created attachment 127167 [details] fuzzed ods file
Looks like a libgsf problem. ==24787== ==24787== Use of uninitialised value of size 8 ==24787== at 0x5D51424: gsf_xml_in_characters (gsf-libxml.c:832) ==24787== by 0x6C848F5: xmlParseCharData (in /usr/lib64/libxml2.so.2.6.32) ==24787== by 0x6C884C7: xmlParseContent (in /usr/lib64/libxml2.so.2.6.32) ==24787== by 0x6C88110: xmlParseElement (in /usr/lib64/libxml2.so.2.6.32) ==24787== by 0x6C8EAE1: xmlParseDocument (in /usr/lib64/libxml2.so.2.6.32) ==24787== by 0x5D5218A: gsf_xml_in_doc_parse (gsf-libxml.c:1180) ==24787== by 0x5D59082: gsf_opendoc_metadata_read (gsf-opendoc-utils.c:207) ==24787== by 0xEB46E75: openoffice_file_open (openoffice-read.c:2965) ==24787== by 0x53AC5B2: go_plugin_file_opener_open (go-plugin-service.c:476) ==24787== by 0x4F5572D: wb_view_new_from_input (workbook-view.c:1230) ==24787== by 0x4F55969: wb_view_new_from_uri (workbook-view.c:1284) ==24787== by 0x404CE7: main (main-application.c:444) ==24787==
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. (Gnumeric part fixed too.)