mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-03 12:28:51 +00:00
05578bfcb6e753fdce2f0b5d7c4167fe326b4a17
This was causing to parse a single space as an empty control word with length 0, which was the source of several crashes. Example: \f0\fbidi \fcharset0 --------^ font index is 0, font family is bidi but when parsing charset we were assuming control word was '' instead of 'charset0'. This only fixes the crashes, the parseFontTable function works quite awful right now.
Description
Languages
Objective-C
67.8%
JavaScript
14.7%
Rich Text Format
9.7%
SCSS
2.2%
C
1.5%
Other
4%