qt6-bb10/tests/auto
Andrei Golubev ba511b2fa4 Reject overwrites by the same index in QPromise::addResult()
One can call addResult(value, index) twice and consequently set the
value twice by the same index. This seems rather strange and probably
should not be allowed. This commit rejects setting results when there's
already a valid result by that index. Consequently, this fixes memory
leaks caused by N-times-called addResult(..., index)

Fixes: QTBUG-86828
Change-Id: I77494f2cb73ce727ffad721cfcdcaa420899eb25
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
2020-10-13 17:04:16 +02:00
..
cmake Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
concurrent Loosen the requirements on the container passed to QtConcurrent::map* 2020-10-13 09:49:51 +02:00
corelib Reject overwrites by the same index in QPromise::addResult() 2020-10-13 17:04:16 +02:00
dbus Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
gui Fallback to using the family when doing an exact match 2020-10-12 14:08:06 +02:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
installed_cmake
network tst_QTcpSocket::connectToHostError - increase the timeout 2020-10-08 22:09:44 +02:00
opengl Remove tst_QGL 2020-08-28 11:43:11 +02:00
other Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
printsupport Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
shared Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
sql Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
testlib Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
tools Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
widgets Avoid repeated date-time formatting in test data naming 2020-10-09 01:09:24 +02:00
xml CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
.prev_CMakeLists.txt CMake: Regenerate projects 2020-09-22 19:08:53 +02:00
CMakeLists.txt CMake: Fix building with -DQT_FEATURE_gui=OFF 2020-09-15 20:05:32 +02:00
auto.pro Don't error out when configuring Qt on a headless system 2020-09-26 14:36:13 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00