https://bugs.freedesktop.org/show_bug.cgi?id=59925

          Priority: medium
            Bug ID: 59925
          Assignee: libreoffice-bugs@lists.freedesktop.org
           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: chapaiki...@mail.ru
          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
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to