qt5base-lts/tests/auto/corelib
João Abecasis c67efb6506 Fix invalid read, detected by valgrind
Commit 3fe1eed0 changed the QVERIFY in line 1354 to QCOMPARE. This was
done to work around a (not yet understood) compiler issue. That however
was wrong, as char pointers in QCOMPARE are assumed to point to
'\0'-terminated strings and will get dereferenced.

In this case the intent was to compare the actual pointer values, as the
pointers point past the end of the array and should not be dereferenced.

Explicitly casting to (void *) and using QCOMPARE will not only keep the
intent, it will hopefully also provide meaningful output on failures. As
such the fix was applied throughout the test.

Change-Id: Ib0968df492ccc11d7c391bb69037cd7241e55493
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
2012-03-15 23:01:13 +01:00
..
animation Fix deadlock in QPropertyAnimation 2012-03-07 12:48:49 +01:00
codecs Eliminate duplicate data row names in utf8 autotest. 2012-02-14 02:48:35 +01:00
global Add Q_IS_ENUM(), and provide as flag in QMetaType::typeFlags() 2012-03-11 23:58:39 +01:00
io Merge remote-tracking branch 'origin/master' into api_changes 2012-03-08 01:27:39 +01:00
itemmodels Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
json Fix a bug in the assignment operators for QJsonObject and Array 2012-03-08 16:06:48 +01:00
kernel QRegularExpression: QMetaType and QVariant support 2012-03-14 10:53:24 +01:00
mimetypes QMimeDatabase: Fix crash on empty filename 2012-03-06 12:10:42 +01:00
plugin Fix QLibrary autotest for Windows 2012-02-28 12:45:28 +01:00
statemachine Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
thread Fix indentation of QWaitCondition autotest. 2012-03-12 13:14:05 +01:00
tools Fix invalid read, detected by valgrind 2012-03-15 23:01:13 +01:00
xml Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00