Files
Alex Jbanca 13db83cf62 fix(ModelQuery): pin CppOwnership on QObject role values returned to JS
A Q_INVOKABLE returning a QVariant holding a QObject* makes the object
destructible by the JS GC (qv4qobjectwrapper transfers ownership unless
explicitly set). ModelQuery::get(model, row, roleName) returns nested
submodels (e.g. QQmlListModel's cached nested models) this way; the GC
could delete them while the source model still owns them, causing a
double-free/UAF in ListModel::destroy() on model teardown.
2026-07-27 14:02:31 +03:00
..
2025-07-10 10:47:09 +02:00
2025-06-13 16:25:14 +02:00
2025-07-10 10:47:09 +02:00
2025-06-13 16:25:14 +02:00
2025-06-13 16:25:14 +02:00
2025-06-13 16:25:14 +02:00
2025-06-13 16:25:14 +02:00
2025-06-13 16:25:14 +02:00