qt5base-lts/tests/auto/gui
Rainer Keller 1232205e32 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>
2019-08-30 21:17:32 +02:00
..
image Generalize image file name @2x suffix handling to higher scale factors 2019-06-14 13:08:56 +02:00
itemmodels Fix QSIM::itemData returning role 255 2018-09-06 11:51:28 +00:00
kernel Add nullptr guard to QHighDScaling::scaleAndOrigin(QPlatformScreen *) 2019-08-11 12:01:26 +02:00
math3d Use qRadiansToDegrees() and qDegreesToRadians() more widely 2017-07-05 10:15:34 +00:00
painting Fix assert/crash when creating QBrush with null QGradient 2019-04-01 11:56:42 +00:00
qopengl Fix OpenGL ES2 build on Linux 2019-02-15 12:58:12 +00:00
qopenglconfig Fix tst_QOpenGlConfig for platforms with builtin test data 2017-06-19 07:05:59 +00:00
qvulkan Merge remote-tracking branch 'origin/5.10' into dev 2017-10-17 10:34:24 +02:00
text Fix crash when text contains too many directional chars 2019-08-30 21:17:32 +02:00
util QTextureFileReader: backport ASTC support 2019-08-15 09:26:11 +02:00
gui.pro winrt: Skip/blacklist failing opengl tests 2018-05-28 08:36:55 +00:00