diff options
| author | Laszlo Agocs <laszlo.agocs@qt.io> | 2022-12-05 14:19:18 +0100 |
|---|---|---|
| committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2022-12-05 17:39:24 +0100 |
| commit | 4f92f018ea0639b8127ad25f4430e5a5ee4e61a1 (patch) | |
| tree | 10ceadc54d49c9bd1b07cce5b35b2fef3ea7fdc6 /tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp | |
| parent | 61ea5f96bf3f430116d70bf5b22586f381d74590 (diff) | |
Fix potential crash in software renderer of Shape
Consider that setNode() is only ever called when a new node is
created. If now the new node has the same address as the old one,
the state will be inconsistent. (setting the DirtyList flag is
quite important).
Fixes: QTBUG-109200
Pick-to: 6.4 6.2
Change-Id: I6136d09d917ad7c8ec13cbcdcb34bd51cb3aecfa
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp')
0 files changed, 0 insertions, 0 deletions
