Download it now!
Bug 136292 - Additions: Bad JSON crashes LibreOffice
Summary: Additions: Bad JSON crashes LibreOffice
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
(earliest affected)
Hardware: All All
: medium normal
Assignee: Yusuf Keten
Depends on:
Blocks: Extension-Tight-Integration
  Show dependency treegraph
Reported: 2020-08-30 15:00 UTC by Muhammet Kara
Modified: 2020-10-06 14:57 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Muhammet Kara 2020-08-30 15:00:11 UTC
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.