aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qqmlirbuilder.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2022-07-21 15:02:02 +0200
committerUlf Hermann <ulf.hermann@qt.io>2022-07-22 09:08:25 +0200
commitc02b0e529a3266cce2f7d852deca7774402b236e (patch)
tree958f6978bc618a70dfe419f6c2be492307f6d92f /src/qml/compiler/qqmlirbuilder.cpp
parent9e03741e54768f99dac166bd56b0e8cb6d85ca36 (diff)
Qml: When cloning a stack frame, also clone its instruction pointer
Otherwise we get an out of range access when looking for the line number. To be extra safe, we also add another guard against this to the lineNumber() function. Pick-to: 6.2 6.3 6.4 Fixes: QTBUG-90466 Change-Id: I4d9cb52ecba2631696537f02a3c1b75c3658ceb8 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/compiler/qqmlirbuilder.cpp')
0 files changed, 0 insertions, 0 deletions