diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2022-11-08 08:20:04 +0100 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2022-11-11 17:33:12 +0100 |
| commit | edc01fbfa430d6f0ce66f1871ab28e0f691ee252 (patch) | |
| tree | c703a04ce0c8b067b440e938dfc76c99cf9867e8 /src/qml/jsruntime/qv4jsonobject.cpp | |
| parent | ad31adffbd5c6d59c02454f17ff0a20bfd56e22c (diff) | |
QML: Check for stack overflows when creating objects
Pick-to: 5.15 6.2 6.4
Fixes: QTBUG-106875
Change-Id: I3b0abda6948b79a9e3cf263f27885037fff1804c
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4jsonobject.cpp')
| -rw-r--r-- | src/qml/jsruntime/qv4jsonobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4jsonobject.cpp b/src/qml/jsruntime/qv4jsonobject.cpp index 6fc854665c..4f46e605af 100644 --- a/src/qml/jsruntime/qv4jsonobject.cpp +++ b/src/qml/jsruntime/qv4jsonobject.cpp @@ -628,7 +628,7 @@ public: bool foundProblem() const { return m_callDepthRecorder.ee->hasException; } private: - ExecutionEngineCallDepthRecorder m_callDepthRecorder; + ExecutionEngineCallDepthRecorder<1> m_callDepthRecorder; }; static QString quote(const QString &str) |
