[Libreoffice-bugs] [Bug 141209] URP bridge disposed by invalid UTF-16 (lone low surrogate) in Writer document

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Mar 29 06:37:44 UTC 2021


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

--- Comment #2 from Stephan Bergmann <sbergman at redhat.com> ---
It IMO does not make sense for Writer to allow non-valid Unicode (i.e., lone
surrogates) in its content model.

Without looking at the example code, the relevant UNO interfaces apparently use
the UNO string type to communicate some Writer document content.  The UNO
string type models "arbitrary-length sequences of Unicode scalar values"
(<http://www.openoffice.org/udk/common/man/typesystem.html>), and the UNO
bridges generally do not allow to pass data that violates the UNO type system.

-- 
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/20210329/f05c7f39/attachment.htm>


More information about the Libreoffice-bugs mailing list