https://bugs.freedesktop.org/show_bug.cgi?id=59925
Priority: medium
Bug ID: 59925
Assignee: [email protected]
Summary: BASIC: Application terminates itself on string
concatenation, if length of result string is expected
to be > 64K
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
Version: 3.5.4 release
Component: BASIC
Product: LibreOffice
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
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs