qt5base-lts/tests/auto/corelib/kernel
Stephen Kelly bedf0367ac QVariant: Fix flags for type-erased associative iterator key
The flags here are passed to a private QVariant constructor, and they
really represent a boolean - IsPointer or not.

Because the flag for the key_type was incorrectly populated with the
flag for the value_type, memory would be corrupted when using a mapping
type whose value_type is a pointer, but whose key type was not, such as

  QMap<QString, int*>

This typo has been there since the concept was introduced in commit
v5.2.0-alpha1~807 (Add container access functionality for associative
containers in QVariant., 2013-04-05).

Task-number: QTBUG-52246
Change-Id: I9ecb13c603015eed2dc2ca43947fa0ecd6be8b5a
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2016-04-03 10:58:12 +00:00
..
qcoreapplication Merge remote-tracking branch 'origin/5.5' into 5.6 2015-10-02 16:59:55 +02:00
qeventdispatcher Blacklist and skip various tests that are flakey 2015-06-14 10:50:45 +00:00
qeventloop Stabilize qguieventloop test. 2015-09-24 07:36:25 +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 QMetaProperty::write should reset the property if an empty QVariant is given 2015-10-09 15:26:38 +00:00
qmetatype tst_QMetaType: fix misleading indention 2016-03-09 13:18:26 +00:00
qmimedata Tests: Replace Q[TRY]_VERIFY(v == true|false) by QVERIFY(v)|QVERIFY(!v). 2015-07-27 12:09:19 +00:00
qobject Fix tests for platforms without process support 2016-03-01 09:27:13 +00:00
qpointer QPointer: add a test for const QPointer<X> 2016-04-01 18:57:25 +00:00
qsharedmemory Fix tests for platforms without process support 2016-03-01 09:27:13 +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 winrt: Disable tests which connect to localhost 2016-02-16 19:35:10 +00:00
qsystemsemaphore Skip instead of entirely excluding tests with disabled features 2015-03-16 09:34:15 +00:00
qtimer Fixed a QTimer::singleShot() crash when a functor callback is used 2015-10-12 16:45:04 +00:00
qtranslator Update testdata 2016-02-17 04:50:50 +00:00
qvariant QVariant: Fix flags for type-erased associative iterator key 2016-04-03 10:58:12 +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