qt6-bb10/src
Santhosh Kumar be974c4855 Avoid referring to invalidated observer during binding evaluation
The property observer reference used during binding evaluation can
become invalidated as the container used to maintain the
the observer would invalidate the existing observers during its
resize, leading to referring to invalid memory.

Recognize that we do not need to store the observer, but only its
binding - the observer itself is not used later.

Therefore, change the PendingBindingObserverList to become a list of
QPropertyBindingPrivatePtr to avoid the issue.

Fixes: QTBUG-127596
Original-patch-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
Pick-to: 6.5 6.2
Change-Id: I8c97721ca563083d6280194175f8a915dac2ff04
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
(cherry picked from commit 275202215376238bf414d5008d3c727085e58a4c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-07 17:26:50 +00:00
..
3rdparty Update bundled libjpeg-turbo to version 3.0.4 2024-09-20 12:21:27 +00:00
android Android: Catch nullPointerExcetion for parentLayout 2024-10-05 20:21:29 +00:00
assets AssetDownloader: Sync TaskTree sources 2024-09-07 13:47:55 +00:00
concurrent Remove GENERATE_CPP_EXPORTS argument 2024-06-13 14:39:17 +00:00
corelib Avoid referring to invalidated observer during binding evaluation 2024-10-07 17:26:50 +00:00
dbus QtDBus: don't detach in registerComplexDBusType()::Hash static destruction 2024-07-03 23:28:49 +00:00
entrypoint CMake: Correctly annotate the Entrypoint (winmain) SBOM license ID 2024-06-19 08:15:40 +00:00
gui Fix typo in rhi doc snippet 2024-10-07 14:49:00 +00:00
network Disable QLocalSocket on VxWorks 2024-09-19 17:54:42 +00:00
opengl Doc: Remove usage of defunct QDoc command 2024-08-28 11:39:51 +00:00
openglwidgets Remove GENERATE_CPP_EXPORTS argument 2024-06-13 14:39:17 +00:00
platformsupport Enable keyboard handling on VxWorks 2024-08-27 18:01:04 +02:00
plugins wasm: Handle theme colors 2024-10-07 09:52:41 +00:00
printsupport Mark Cups::Cups optional target when building for non-APPLE systems 2024-09-29 10:37:51 +00:00
sql QSqlRelationalTableModel: properly clear relational dictionary 2024-09-08 10:08:26 +00:00
testlib testlib: Enable -tickcounter on Apple Silicon 2024-09-28 16:00:58 +00:00
tools moc: move the static_cast<ObjectType *> to the top of qt_static_metacall 2024-09-24 04:16:19 +00:00
widgets QTableWidget: assume column 0 when dropping a row below another one 2024-10-07 12:30:28 +00:00
xml QtXml: be systematic about feature dom 2024-08-29 18:21:29 +00:00
CMakeLists.txt Add Qt icon library for examples 2023-04-22 18:14:38 +03:00