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 515876 - Null pointer crash in xl_chart_read_shtprops()
Null pointer crash in xl_chart_read_shtprops()
Status: RESOLVED DUPLICATE of bug 515343
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-02-11 21:09 UTC by sum1
Modified: 2008-02-15 14:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fuzzed chart-tests-excel.xls (173.50 KB, application/vnd.ms-excel)
2008-02-11 21:10 UTC, sum1
Details

Description sum1 2008-02-11 21:09:41 UTC
Version: r16371
OS: Ubuntu Gutsy

The upcoming sample is a fuzzed version of chart-tests-excel.xls.

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

Backtrace:

Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 5881)

  • #0 xl_chart_read_shtprops
    at ms-chart.c line 2014
  • #1 ms_excel_chart_read
    at ms-chart.c line 3412
  • #2 ms_excel_chart_read_BOF
    at ms-chart.c line 3625
  • #3 ms_read_OBJ
    at ms-obj.c line 1269
  • #4 ms_escher_read_ClientData
    at ms-escher.c line 1989
  • #5 ms_escher_read_container
    at ms-escher.c line 2093
  • #6 ms_escher_read_SpContainer
    at ms-escher.c line 504
  • #7 ms_escher_read_container
    at ms-escher.c line 2093
  • #8 ms_escher_read_SpgrContainer
    at ms-escher.c line 1930
  • #9 ms_escher_read_container
    at ms-escher.c line 2093
  • #10 ms_escher_read_DgContainer
    at ms-escher.c line 1935
  • #11 ms_escher_read_container
    at ms-escher.c line 2093
  • #12 ms_escher_parse
    at ms-escher.c line 2160
  • #13 excel_read_sheet
    at ms-excel-read.c line 6220
  • #14 excel_read_BOF
  • #15 excel_read_workbook
    at ms-excel-read.c line 6582
  • #16 excel_file_open
    at boot.c line 191
  • #17 go_plugin_loader_module_func_file_open
    at go-plugin-loader-module.c line 239
  • #18 go_plugin_file_opener_open
    at go-plugin-service.c line 476
  • #19 go_file_opener_open
    at file.c line 294
  • #20 wb_view_new_from_input
    at workbook-view.c line 1212
  • #21 wb_view_new_from_uri
    at workbook-view.c line 1264
  • #22 main
    at main-application.c line 417

Comment 1 sum1 2008-02-11 21:10:39 UTC
Created attachment 104988 [details]
fuzzed chart-tests-excel.xls
Comment 2 Jean Bréfort 2008-02-12 05:54:15 UTC
Does not crash after applying patch id=104847 for #515343. The issue seems a truncated file.
Comment 3 Morten Welinder 2008-02-15 14:27:30 UTC

*** This bug has been marked as a duplicate of 515343 ***