qt6-bb10/tests/auto/corelib/kernel
Marc Mutz bccbb70de5 Fix UB in tst_QMetaType
Don't pass around meta-type IDs in QMetaType::Type
variables. It leads to reading values from an enum
variable that are invalid.

Fix by passing the IDs around as int.

Found by UBSan:
  tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp:408:5: runtime error: load of value 4028, which is not a valid value for type 'Type'

Change-Id: Idd106ee3d7960fe3d8fefc0fc5830fc22d38a513
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2016-01-06 22:07:09 +00:00
..
qcoreapplication Fix tst_QGuiApplication for embedded platforms using eglfs QPA 2015-09-10 06:29:11 +00:00
qeventdispatcher Update copyright headers 2015-02-11 06:49:51 +00:00
qeventloop fix usage of wince scope 2015-06-05 10:29:10 +00:00
qmath Update copyright headers 2015-02-11 06:49:51 +00:00
qmetaenum Fix QtPrivate::IsQEnumHelper<void> 2015-05-17 09:13:18 +00:00
qmetamethod Update copyright headers 2015-02-11 06:49:51 +00:00
qmetaobject Output registered enums in qDebug operator for QFlags. 2015-02-26 12:16:51 +00:00
qmetaobjectbuilder Update copyright headers 2015-02-11 06:49:51 +00:00
qmetaproperty Update copyright headers 2015-02-11 06:49:51 +00:00
qmetatype Fix UB in tst_QMetaType 2016-01-06 22:07:09 +00:00
qmimedata Add support to set text/uri-list mimedata via setData() 2015-04-28 12:46:35 +00:00
qobject Make QMetaObject::Connection check its state deeply 2015-06-19 23:22:33 +00:00
qpointer Update copyright headers 2015-02-11 06:49:51 +00:00
qsharedmemory Skip instead of entirely excluding tests with disabled features 2015-03-16 09:34:15 +00:00
qsignalblocker Update copyright headers 2015-02-11 06:49:51 +00:00
qsignalmapper Update copyright headers 2015-02-11 06:49:51 +00:00
qsocketnotifier Fix the spurious socket notifications under Windows 2015-09-10 12:51:02 +00:00
qsystemsemaphore Skip instead of entirely excluding tests with disabled features 2015-03-16 09:34:15 +00:00
qtimer Fix the remainingTime() result after the first activation of a QTimer 2015-07-08 03:20:29 +00:00
qtranslator Update copyright headers 2015-02-11 06:49:51 +00:00
qvariant Fix building tests on QNX 2015-03-09 11:23:24 +00:00
qwineventnotifier Update copyright headers 2015-02-11 06:49:51 +00:00
kernel.pro iOS: Skip tests that don't make sense or don't work on the platform 2015-03-16 14:25:27 +00:00