qt5base-lts/tests/auto
Fabian Kosmale 652062dde3 QNotifiedProperty: avoid crash
We can end up in a situation where a (soon to be destroyed) observer is
owned by a binding which is about to be deleted. If in that situation
the binding is destroyed first, we end up with a dangling pointer
and ensuing memory corruption. Instead, we now first transfer the
ownership of the observer and only destroy the binding afterwards.

Fixes: QTBUG-85824
Change-Id: I721c0319281ada981ae7896bd2e02e9a0cc901b8
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-08-04 11:28:33 +00:00
..
cmake CMake: Fix configuration of CMake tests in-build-tree 2020-07-20 18:12:23 +02:00
concurrent CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
corelib QNotifiedProperty: avoid crash 2020-08-04 11:28:33 +00:00
dbus Fix passing QDBusUnixFileDescriptors over peer-to-peer connections 2020-07-13 20:45:20 +02:00
gui Remove old qsb versions from qshader autotest 2020-07-31 12:57:06 +02:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake
network QHostAddress: resolve API issues marked with ##Qt6 2020-07-28 12:38:15 +02:00
opengl CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
other Disable warning about self-move and self-assign-overload 2020-07-26 18:06:34 +02:00
printsupport CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql Fix warnings about unused variables and functions in tests 2020-07-26 18:06:46 +02:00
testlib testlib: Add start time and test duration to JUnit XML 2020-07-24 00:52:01 +02:00
tools moc: allow wrapper generation for QProperty in pimpl class 2020-07-14 17:06:46 +02:00
widgets Add missing enumeration case in tst_QMacStyle::setSize 2020-07-29 14:33:19 +02:00
xml Disable deprecation warnings in some tests 2020-07-29 14:33:23 +02:00
.prev_CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
auto.pro CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
CMakeLists.txt CMake: Get tests/auto/cmake tests working 2020-07-17 09:43:04 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00