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 312010 - Crashes if .gnumeric file has wrong SelectedTab value
Crashes if .gnumeric file has wrong SelectedTab value
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
1.5.x
Other All
: Normal minor
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2005-07-29 21:36 UTC by Guess
Modified: 2006-10-23 19:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Guess 2005-07-29 21:36:32 UTC
Distribution/Version: RC2

Change any .gnumeric file to have an invalid tab number selected. For example:

<gnm:UIData SelectedTab="11"/>

when there are only 11 tabs total. Watch Kansas go bye bye, Dorothy.

Note: the use of both 0-based and 1-based indexes is bound to cause trouble in
the future, IMHO.
Comment 1 Morten Welinder 2005-07-30 01:22:40 UTC
** (gnumeric:13241): CRITICAL **: workbook_sheet_by_index: assertion
`(int)wb->sheets->len > i' failed

** (gnumeric:13241): CRITICAL **: sheet_update: assertion `IS_SHEET (sheet)' failed
Comment 2 Jon Kåre Hellan 2006-10-23 19:27:02 UTC
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.