| Summary: | BASIC: Application terminates itself on string concatenation, if length of result string is expected to be > 64K | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Vladimir <ChapaikinVA> |
| Component: | BASIC | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | serval2412 |
| Priority: | medium | ||
| Version: | 3.5.4 release | ||
| Hardware: | Other | ||
| OS: | Linux (All) | ||
| Whiteboard: | BSA | ||
| Crash report or crash signature: | Regression By: | ||
Work in progress to remove this 64k limit. More info here: https://bugs.freedesktop.org/show_bug.cgi?id=38838 *** This bug has been marked as a duplicate of bug 38838 *** |
Problem description: Application terminates itself on string concatenation, if length of result string is expected to be > 64K Steps to reproduce: 1. Run the example (sub): '---------------------------------------- Sub Error__String__Concatenation__Application_crashes Dim aLength as Long Dim aString as String aString="1" While Len(aString)<100000 aString=aString & aString WEnd 'aLength<1000000 MsgBox Len(aString) End Sub 'Error__String__Concatenation__Application_crashes '---------------------------------------- Current behavior: Application terminates itself. Expected behavior: Application reports about an error. Operating System: Ubuntu Version: 3.5.4 release