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 323678 - CONVERT() crash for invalid units
CONVERT() crash for invalid units
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Analytics
1.6.x
Other Linux
: Normal critical
: ---
Assigned To: Morten Welinder
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2005-12-10 01:18 UTC by Nick Lamb
Modified: 2005-12-10 01:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Suggested patch for convert problem (559 bytes, patch)
2005-12-10 01:20 UTC, Nick Lamb
none Details | Review

Description Nick Lamb 2005-12-10 01:18:56 UTC
Internally the convert() function of CONVERT() returns an error instead of
writing it to a variable passed by reference. The result was a nasty crash.

To reproduce, type something like =CONVERT(8.5,"ft","sec") into a cell

To fix, I will attach a patch against 1.6.1
Comment 1 Nick Lamb 2005-12-10 01:20:05 UTC
Created attachment 55829 [details] [review]
Suggested patch for convert problem
Comment 2 Morten Welinder 2005-12-10 01:42:49 UTC
Fixed in cvs, a little different from your patch, but the same idea.