summaryrefslogtreecommitdiffstats
path: root/qmake/generators/mac/pbuilder_pbx.h
diff options
context:
space:
mode:
authorRainer Keller <Rainer.Keller@qt.io>2019-08-27 14:44:48 +0200
committerRainer Keller <Rainer.Keller@qt.io>2019-08-30 21:17:32 +0200
commit1232205e32464d90e871f39eb1e14fcf9b78a163 (patch)
treecac9678f45d7e9a9c7cca0da561429d037bdc6c7 /qmake/generators/mac/pbuilder_pbx.h
parentb2df41b5a8649ea3f7c9cc2e23f6c5a06a1e4ea7 (diff)
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>
Diffstat (limited to 'qmake/generators/mac/pbuilder_pbx.h')
0 files changed, 0 insertions, 0 deletions