[Libreoffice-bugs] [Bug 113694] New: Special characters (from Unicode Plane 1) are not well handled and even cause crash

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Nov 7 14:53:56 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=113694

            Bug ID: 113694
           Summary: Special characters (from Unicode Plane 1) are not well
                    handled and even cause crash
           Product: LibreOffice
           Version: 3.3.0 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: hiunnhue108 at ymail.com

Description:
It seems that some special characters, which are from Unicode Plane 1 and
classified by LibreOffice as CTL Text, are not well handeled, and sometimes can
even cause crash.

Steps to Reproduce:
 1. Open the attached ODT file, OR:
    (a) Open a new writer file.
    (b) Copy and paste the character "๐•", "๐Š™", or "๐" to writer. It doesn't
matten whether your system can display these characters or not.
    (c) Set the font to "Linux Biolinum O" or "Linux Libertine O" to help
observation.

 2. Use arrow keys to move cursor.

 3. When the cursor moves from the characters' left side to right side, there
seems to be a space, which is not inputted by us. (see the attached PNG file)

 4. Now the cursor is at the red line, press "Enter" key or input anything, and
then the character will split into two question marks. (see the attached PNG
file)

 5. Move the border, make the column smaller, then the character will split,
too.

 6. The splitting will cause crash sometimes, especially Version
6.0.0.0.alpha1+.

Actual Results:  
 1. The characters split.
 2. Writer crashs, especially Version 6.0.0.0.alpha1+.

Expected Results:
 The character should not split or even cause crash.


Reproducible: Always


User Profile Reset: No



Additional Info:
 Reproducible in the following version:
    * 3.3.0 (linux)
    * 4.0.0.1 (linux)
    * 5.4.2.2 (win/linux)
    * 6.0.0.0.alpha1+ (linux)


 Please notice that these characters **must be classified by LibO as CTL text**
(see the status bar) to trigger the bug. 

 In version 3.3.0, characters "๐•", "๐Š™", or "๐" are depends on your local
setting. Which means, if your local is Western (like en_US), then they would be
classified as Western Text. While in version 5.4.2.2, they are classified as
CTL Text, regardless of your local setting.


 Calc and Impress are also affected. Just copy and paste "๐•", "๐Š™", or "๐" to
the text filed, and then press Backspace.


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Ubuntu Chromium/62.0.3202.75 Chrome/62.0.3202.75 Safari/537.36

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171107/94cd3b90/attachment-0001.html>


More information about the Libreoffice-bugs mailing list