qt6-bb10/tests/auto/corelib
Ivan Solovev b34bea5e96 QFuture: fix continuation cleanup
Not clearing the continuationData could lead to use-after-free when
there is an attempt to cancel an already finished future, which belongs
to an already-destroyed promise.

This patch fixes it be explicitly resetting continuationData to nullptr
in the clearContinuation() method, which is called from the QPromise
destructor.

Task-number: QTBUG-103514
Pick-to: 6.5 6.4 6.2
Change-Id: I6418b3f5ad04f2fdc13a196ae208009eaa5de367
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2023-02-15 15:12:12 +01:00
..
animation Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
global QTypeInfo: remove further usages of isPointer / isIntegral 2022-12-30 01:51:27 +01:00
io QFileSystemWatcher/Win: remove the pre-QFileInfo path normalization 2023-02-14 11:27:24 -08:00
ipc IPC: switch the default key type on Unix to POSIX realtime 2023-01-22 13:02:11 -03:00
itemmodels Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
kernel QObject: Handle pointers to incomplete types in auto-connections 2023-02-14 19:24:22 +01:00
mimetypes QMimeDatabase: add a test to ensure we can detect Unix specials 2023-02-02 12:17:25 -08:00
platform CMake: Remove direct qt_android_generate_deployment_settings call 2022-12-15 20:23:28 +01:00
plugin QUuid: add the ability to specify the byte order for 128-bit IDs 2022-12-16 19:29:10 +01:00
serialization QXmlStreamWriter: fix a thinko in doWriteToDevice(QSV) 2022-12-16 22:58:11 +01:00
text Skip the tst_QStringConverter::threadSafety test on WASM temporarily 2023-02-14 20:24:15 +01:00
thread QFuture: fix continuation cleanup 2023-02-15 15:12:12 +01:00
time Move qtLocalTime() to qtenvironmentvariables.cpp as qLocalTime() 2023-02-03 14:45:31 +01:00
tools tst_qvarlengtharray: fix MyBase trackers for swap() 2023-02-10 23:31:37 +01:00
CMakeLists.txt IPC: Move QSharedMemory and QSystemSemaphore from kernel/ to ipc/ 2023-01-22 13:01:53 -03:00