qt5base-lts/tests/auto/corelib/animation
Fabian Kosmale d5ab0101ff Avoid use after free in tst_qsequentialanimationgroup
The test connects finished to the groups clear method, which in turn
deletes the animation instance. Thus, no member must be accessed after
calling stop, unless we use a (costly) QPointer to guard against
deletion.
Notify earlier that totalCurrentTime changed to avoid the issue.
As a drive-by, modernize the connect in the test.

Fixes: QTBUG-94143
Change-Id: I923101107b7f79115be69a58c8e8d5177a98d48f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
2021-06-02 16:45:23 +02:00
..
qabstractanimation Port QAbstractAnimation to the new property system 2021-04-27 21:33:48 +02:00
qanimationgroup Remove the qmake project files 2021-01-07 15:32:28 +01:00
qparallelanimationgroup Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpauseanimation Port QPauseAnimation to the new property system 2021-01-26 21:47:47 +01:00
qpropertyanimation Port QPropertyAnimation::targetObject to bindable properties 2021-04-28 12:38:57 +02:00
qsequentialanimationgroup Avoid use after free in tst_qsequentialanimationgroup 2021-06-02 16:45:23 +02:00
qvariantanimation Port QVariantAnimation to the new property system 2021-04-30 18:59:50 +02:00
CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00