strsubst can not compact consecutive duplicated caracters (crash. Regression. was OK in 5.5.2)
Reported by Jón Matthíasson
BUG DESCRIPTION:
----------------
strsubst('faaaf','aa','a') in console crashes scilab-master-1459352455.bin.linux-x86_64 on debian 8.3
gives 'faaf' in scilab 5.5.1 (same os)
ERROR LOG:
----------
*** Error in `scilab-bin': malloc(): memory corruption (fast): 0x0000000001b58f50 ***
HOW TO REPRODUCE THE BUG:
-------------------------
strsubst('faaaf','aa','a') in console
OTHER INFORMATION:
------------------