qt5base-lts/src
Konstantin Ritt a15b56b0c1 Fix possible crash due to integer overflow
QFontEngineMulti::stringToCMap() stores the fallback engine index
in a glyph index'es high byte, which means the maximum fallback engine index
it can store is 255, so limit the number of tries we're doing to this value.
Otherwise we could end up with `fontEngineMulti->engine(glyph >> 24) == 0`
after successful stringToCMap() call.

Task-number: QTBUG-30412

Change-Id: I06907a39186fd207f3ce4b732a1a54e615744082
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
2013-08-15 20:47:38 +02:00
..
3rdparty Fix compilation of libGLESv2 with older MinGW-w64 headers 2013-07-11 17:29:39 +02:00
android Android: handle keyboard connect/disconnect 2013-06-21 09:26:35 +02:00
angle Fix compilation of libGLESv2 with older MinGW-w64 headers 2013-07-11 17:29:39 +02:00
concurrent Doc: Setting module pages' \qtvariable. 2013-08-02 13:35:45 +02:00
corelib Replace QWheelEvent::Phase with revised Qt::ScrollPhase 2013-08-15 10:02:36 +02:00
dbus Doc: Setting module pages' \qtvariable. 2013-08-02 13:35:45 +02:00
gui Fix possible crash due to integer overflow 2013-08-15 20:47:38 +02:00
network OSX: Make QSslSocket compile on 10.9 2013-08-06 08:10:27 +02:00
opengl Doc: Setting module pages' \qtvariable. 2013-08-02 13:35:45 +02:00
openglextensions Use BSD licensing for QtOpenGLExtensions instead of LGPL 2013-06-24 10:16:32 +02:00
platformsupport Find primary GPU only 2013-08-06 11:00:23 +02:00
plugins Replace QWheelEvent::Phase with revised Qt::ScrollPhase 2013-08-15 10:02:36 +02:00
printsupport Doc: Setting module pages' \qtvariable. 2013-08-02 13:35:45 +02:00
sql Doc: Setting module pages' \qtvariable. 2013-08-02 13:35:45 +02:00
testlib Ensure that output is world readable on Android 2013-08-05 14:53:12 +02:00
tools qdoc: Let default output subdir be html 2013-08-12 09:10:15 +02:00
widgets Replace QWheelEvent::Phase with revised Qt::ScrollPhase 2013-08-15 10:02:36 +02:00
winmain fix path adjustments in installed metafiles 2013-01-30 15:43:00 +01:00
xml Doc: Setting module pages' \qtvariable. 2013-08-02 13:35:45 +02:00
src.pro create a sub-tools target 2013-06-17 15:41:08 +02:00