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 513364 - Null pointer crash in excel_read_REFMODE()
Null pointer crash in excel_read_REFMODE()
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: 2008-01-31 07:51 UTC by sum1
Modified: 2008-01-31 14:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fuzzed textfuns.xls (27.50 KB, application/vnd.ms-excel)
2008-01-31 07:52 UTC, sum1
Details

Description sum1 2008-01-31 07:51:12 UTC
Version: r16319
OS: Ubuntu Gutsy

The upcoming sample is a fuzzed version of textfuns.xls.

Steps to reproduce:
- Load the upcoming attachment in Gnumeric to trigger a crash

Backtrace:

Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 5616)

  • #0 excel_read_REFMODE
    at ms-excel-read.c line 5675
  • #1 excel_read_sheet
    at ms-excel-read.c line 5792
  • #2 excel_read_BOF
    at ms-excel-read.c line 6224
  • #3 excel_read_workbook
    at ms-excel-read.c line 6292
  • #4 excel_file_open
    at boot.c line 191
  • #5 go_plugin_loader_module_func_file_open
    at go-plugin-loader-module.c line 239
  • #6 go_plugin_file_opener_open
    at go-plugin-service.c line 476
  • #7 go_file_opener_open
    at file.c line 294
  • #8 wb_view_new_from_input
    at workbook-view.c line 1212
  • #9 wb_view_new_from_uri
    at workbook-view.c line 1264
  • #10 main
    at main-application.c line 395

Comment 1 sum1 2008-01-31 07:52:42 UTC
Created attachment 104096 [details]
fuzzed textfuns.xls
Comment 2 Morten Welinder 2008-01-31 14:18:35 UTC
Fixed, thanks.

I am guessing that you are fuzzing the files a bit too much and that you
therefore don't get very far into the files.  (And there is no need to
test different output formats at this point -- all the problems are at
the import stage.)