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>
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%