qt5base-lts/tests/auto/corelib/animation/qsequentialanimationgroup
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
..
BLACKLIST Flatten version-specific blacklisting on macOS to all macOS versions 2020-01-22 17:58:31 +01:00
CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
tst_qsequentialanimationgroup.cpp Avoid use after free in tst_qsequentialanimationgroup 2021-06-02 16:45:23 +02:00