aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4engine.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-02-27 09:27:40 +0100
committerUlf Hermann <ulf.hermann@qt.io>2020-02-27 14:56:13 +0100
commit40f2dbd5557da2103e03a3fb7682bbfda3ffd122 (patch)
tree9d0d1945f6e35a6b3887c3b9000169d28a81dcb8 /src/qml/jsruntime/qv4engine.cpp
parent639196d0939ab2ce4f42671682cdddc91fee58ac (diff)
QQmlDelegateModel: Avoid use-after-free
The iterator may be invalidated by addCacheItem(). We can retrieve the relevant properties before, though. Change-Id: Ia3bbc50d16a7563097239177a75c9e2eab777a33 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4engine.cpp')
0 files changed, 0 insertions, 0 deletions