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 165996 - substitute("a","","") hangs
substitute("a","","") hangs
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
git master
Other All
: Immediate blocker
: ---
Assigned To: Morten Welinder
Morten Welinder
Depends on:
Blocks:
 
 
Reported: 2005-02-02 00:54 UTC by Branislav Sott
Modified: 2005-02-02 15:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Branislav Sott 2005-02-02 00:54:34 UTC
write someting to A1, to A2 write =substitute(A1,"",""). Not sure what is
expected , gnumeric UI deadlocks
Comment 1 Branislav Sott 2005-02-02 01:14:46 UTC
problem is in plugins/fn-string/functions.c, function gnumeric_substitute.
Solution is to check input variables and not to go into while cycle, when oldlen
variable is zero. I checked it in cvs file version was 1.148.
Comment 2 Morten Welinder 2005-02-02 15:34:42 UTC
Fixed in cvs (along with proper checking of fourth argument).