[Libreoffice-bugs] [Bug 136292] New: Additions: Bad JSON crashes LibreOffice

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Aug 30 15:00:11 UTC 2020


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

            Bug ID: 136292
           Summary: Additions: Bad JSON crashes LibreOffice
           Product: LibreOffice
           Version: 7.1.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: UI
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: muhammet.kara at collabora.com

When there is an error in the downloaded list of extensions as JSON, it might
cause a crash of LibreOffice.

An example error seen on terminal on such a crash:

terminate called after throwing an instance of 'orcus::json::parse_error'
  what():  string: illegal escape character 'u'. (offset=204406)

Seems like we need some try-catches, and extra checks.

-- 
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/20200830/019e0564/attachment.htm>


More information about the Libreoffice-bugs mailing list