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

Mike Kaganski <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
           Assignee|[email protected] |[email protected]
                   |desktop.org                 |
     Ever confirmed|0                           |1

--- Comment #1 from Mike Kaganski <[email protected]> ---
Created attachment 160886
  --> https://bugs.documentfoundation.org/attachment.cgi?id=160886&action=edit
An InsideClipboard capture of long (>2048 characters) text with three
paragraphs separated by CRs

This specially crafted clipboard content has three lines separated by CRs,
where first line is short, second one's length was chosen such that reading the
clipboard contents into internal buffer (2048 Unicode characters) ends with its
trailing CR, and the last line is also short. This test demonstrates that when
CR happens on buffer boundary, we treat it as paragraph break, while it is
treated incorrectly in the middle.

Problematic code is in SwASCIIParser::ReadChars (switch case handling 0x0d).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to