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 539178 - Null pointer crash in gog_series_init_style()
Null pointer crash in gog_series_init_style()
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-06-19 19:39 UTC by sum1
Modified: 2008-06-19 21:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fuzzed chart-tests-excel.xls (173.50 KB, application/vnd.ms-excel)
2008-06-19 19:40 UTC, sum1
Details

Description sum1 2008-06-19 19:39:05 UTC
Version: r16635
OS: Ubuntu Hardy

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 3061533280 (LWP 7736)

  • #0 gog_series_init_style
    at gog-series.c line 561
  • #1 gog_minmax_series_init_style
    at gog-minmax.c line 57
  • #2 gog_styled_object_apply_theme
    at gog-styled-object.c line 259
  • #3 gog_styled_object_set_style
    at gog-styled-object.c line 201
  • #4 gog_styled_object_set_property
    at gog-styled-object.c line 56
  • #5 g_object_set_valist
    from /usr/lib/libgobject-2.0.so.0
  • #6 g_object_set
    from /usr/lib/libgobject-2.0.so.0
  • #7 xl_chart_read_end
    at ms-chart.c line 2851
  • #8 ms_excel_chart_read
    at ms-chart.c line 3503
  • #9 ms_excel_chart_read_BOF
    at ms-chart.c line 3722
  • #10 ms_read_OBJ
    at ms-obj.c line 1276
  • #11 ms_escher_read_ClientData
    at ms-escher.c line 1993
  • #12 ms_escher_read_container
    at ms-escher.c line 2099
  • #13 ms_escher_read_SpContainer
    at ms-escher.c line 507
  • #14 ms_escher_read_container
    at ms-escher.c line 2099
  • #15 ms_escher_read_SpgrContainer
    at ms-escher.c line 1933
  • #16 ms_escher_read_container
    at ms-escher.c line 2099
  • #17 ms_escher_read_DgContainer
    at ms-escher.c line 1938
  • #18 ms_escher_read_container
    at ms-escher.c line 2099
  • #19 ms_escher_parse
    at ms-escher.c line 2166
  • #20 excel_read_sheet
    at ms-excel-read.c line 6235
  • #21 excel_read_BOF
  • #22 excel_read_workbook
    at ms-excel-read.c line 6601
  • #23 excel_file_open
    at boot.c line 191
  • #24 go_plugin_loader_module_func_file_open
    at go-plugin-loader-module.c line 239
  • #25 go_plugin_file_opener_open
    at go-plugin-service.c line 476
  • #26 go_file_opener_open
    at file.c line 294
  • #27 wb_view_new_from_input
    at workbook-view.c line 1226
  • #28 wb_view_new_from_uri
    at workbook-view.c line 1280
  • #29 main
    at main-application.c line 417

Comment 1 sum1 2008-06-19 19:40:39 UTC
Created attachment 113067 [details]
fuzzed chart-tests-excel.xls
Comment 2 Morten Welinder 2008-06-19 21:01:59 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.