qt5base-lts/tests/auto
Rainer Keller af6ac444c9 Fix crash when text contains too many directional chars
In case a text to be layouted contains more than 128 directional characters
it causes the application to crash

The function initScriptAnalysisAndIsolatePairs() collects information of
RTL/LTR chaaracters into vector "isolatePairs". The size of the vector is
capped to 128. Later the function generateDirectionalRuns() iterates
the text again and tries to access items from the previously capped vector
above the upper bound.

Task-number: QTBUG-77819
Change-Id: Ibb7bf12c12b1db22f43ff46236518da3fdeed26a
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
(cherry picked from commit 1232205e32)
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2019-08-31 08:29:31 +00:00
..
android
bic/data Add binary compatibility files for Qt5.13.0 for QtBase 2019-08-15 04:19:39 +00:00
cmake cmake: correct version dependency for qt5_add_big_resources 2019-05-20 12:49:37 +02:00
concurrent Merge remote-tracking branch 'origin/5.11' into dev 2018-02-16 08:54:58 +01:00
corelib BLACKLIST insert_remove_loop for msvc-2019 2019-07-30 14:11:02 +03:00
dbus Merge remote-tracking branch 'origin/5.12' into 5.13 2019-02-19 01:00:08 +01:00
gui Fix crash when text contains too many directional chars 2019-08-31 08:29:31 +00:00
guiapplauncher
installed_cmake
network Merge remote-tracking branch 'origin/5.12' into 5.13 2019-08-05 09:28:48 +02:00
opengl qWaitFor: Prevent being stuck in QCoreApplication::processEvents 2019-01-09 18:10:54 +00:00
other Merge remote-tracking branch 'origin/5.12' into 5.13 2019-06-20 07:50:44 +02:00
printsupport tst_QPrinter: stabilize qprinter test 2019-01-20 13:39:54 +00:00
shared Make tst_qwidget pass on High-DPI screens (Windows) 2019-06-03 10:41:08 +02:00
sql Merge remote-tracking branch 'origin/5.12' into 5.13 2019-02-21 01:00:08 +01:00
testlib Merge remote-tracking branch 'origin/5.12' into 5.13 2019-05-09 13:06:11 +00:00
tools Merge remote-tracking branch 'origin/5.12' into 5.13 2019-05-12 01:00:08 +02:00
widgets Fix GCC 4.8 build 2019-08-05 15:50:42 +03:00
xml Don't indefinitely wait for data if it was able to read some data 2018-01-24 05:54:31 +00:00
auto.pro winrt: Skip network auto tests for now 2018-06-22 05:02:39 +00:00
network-settings.h Extend the default retry times of QtNetworkSettings::verifyConnection 2019-01-23 15:28:33 +00:00
testserver.pri Disable Docker-based test servers on macOS temporarily 2019-02-06 22:04:54 +00:00