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 577205 - Null pointer crash in ms_read_TXO
Null pointer crash in ms_read_TXO
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: import/export MS Excel (tm)
git master
Other All
: Normal critical
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2009-03-29 17:12 UTC by sum1
Modified: 2009-03-30 00:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fuzzed xls file (13.50 KB, application/vnd.ms-excel)
2009-03-29 17:13 UTC, sum1
Details

Description sum1 2009-03-29 17:12:27 UTC
Version: r17251
OS: Ubuntu Intrepid

The upcoming file is a fuzzed version of Attachment 21420 [details] (.xls file from Bug 126908).


Steps to reproduce:
- Import the upcoming attachment to trigger a crash


Backtrace:

Program received signal SIGSEGV, Segmentation fault.

Thread 3067709184 (LWP 17697)

  • #0 ms_read_TXO
    at ms-obj.c line 431
  • #1 ms_escher_read_ClientTextbox
    at ms-escher.c line 1963
  • #2 ms_escher_read_container
    at ms-escher.c line 2099
  • #3 ms_escher_read_SpContainer
    at ms-escher.c line 507
  • #4 ms_escher_read_container
    at ms-escher.c line 2099
  • #5 ms_escher_read_SpgrContainer
    at ms-escher.c line 1933
  • #6 ms_escher_read_container
    at ms-escher.c line 2099
  • #7 ms_escher_read_DgContainer
    at ms-escher.c line 1938
  • #8 ms_escher_read_container
    at ms-escher.c line 2099
  • #9 ms_escher_parse
    at ms-escher.c line 2166
  • #10 excel_read_sheet
    at ms-excel-read.c line 6262
  • #11 excel_read_BOF
    at ms-excel-read.c line 6545
  • #12 excel_read_workbook
    at ms-excel-read.c line 6628
  • #13 excel_file_open
    at boot.c line 192
  • #14 go_plugin_loader_module_func_file_open
    at go-plugin-loader-module.c line 239
  • #15 go_plugin_file_opener_open
    at go-plugin-service.c line 476
  • #16 go_file_opener_open
    at file.c line 299
  • #17 wb_view_new_from_input
    at workbook-view.c line 1058
  • #18 wb_view_new_from_uri
    at workbook-view.c line 1112
  • #19 main
    at main-application.c line 413

Comment 1 sum1 2009-03-29 17:13:21 UTC
Created attachment 131630 [details]
fuzzed xls file
Comment 2 Morten Welinder 2009-03-30 00:28:10 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.
Comment 3 Morten Welinder 2009-03-30 00:31:19 UTC
(This fixed a whole class of problems with code not checking the return
code from ms_biff_query_next after a successful ms_biff_query_peek_next.)