diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2021-02-08 12:13:13 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-04-16 19:33:34 +0000 |
commit | 721f582e5b016cd2118275f2a706bed4e3f459d4 (patch) | |
tree | 1ebfb2c64b4a5430299e553918c4ec50762d3fda /tests | |
parent | 5e8e9fded6682623e4f66159e040f462c847d341 (diff) |
Fix handling of surrogates in QBidiAlgorithm
Prior code was naively assuming the character after a high surrogate
would necessarily be a low surrogate, which is buggy.
Fixes oss-fuzz issue 29718.
Change-Id: I10f023c4b5024a0d76fea0a3672001063591ec6d
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit aeeaab1a5ac0b4d91c9f9b542035b8970e4c61dd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions