Qt 6.8.3 with BlackBerry 10 (QNX 8 / ARMv7) patches
 
 
 
 
 
 
Go to file
Wladimir Leuschner 899f708c70 QStyleSheet/QProxyStyle: Avoid deref after setWindowFlags in polish
When invoking setWindowFlags with a QStyleSheet and QProxyStyle set, a
repolish is recursivly done creating a second QStyleSheetStyle in
QWidgetPrivate::inheritStyle due to not cleared WA_SetStyle window flag.
This leads to a use-after-free in the then following recursive call to
QStyle::polish. This patch uses the previously create QStyleSheetStyle
in the case that there is already a QStyleSheetStyle for the proxy.

Fixes: QTBUG-125513
Pick-to: 6.7
Change-Id: I841bf68143e893d74ab7373b7a3d3d4ee2bce514
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
(cherry picked from commit 26af5d1854336907d6d7fd6aa1ad060f6d38ce1c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-06-05 18:27:44 +00:00
.github/workflows
LICENSES SQLite: Update identified license 2024-04-28 12:14:17 +02:00
bin cmake: Override generator for iOS projects to Xcode in qt-cmake.in 2024-03-18 22:34:48 +01:00
cmake CMake: Don't record provided targets for Qt6 package 2024-05-31 16:27:03 +02:00
coin coin: Make macOS 12 and 13 Tart ARM VMs significant 2024-06-03 12:57:01 +00:00
config.tests Add copyright and licensing to .cpp and .h files missing them 2024-05-28 09:47:01 +02:00
dist Remove dist/README 2024-02-29 15:35:57 +01:00
doc Android: Update Gradle to 8.7 and Android Gradle Plug-in (AGP) to 8.4.0 2024-05-24 06:37:13 +03:00
examples systray example: if there is no system tray, allow waiting for one 2024-06-05 01:40:21 +00:00
lib
libexec CMake: Allow building all examples as standalone just like tests 2024-03-14 11:44:16 +01:00
mkspecs qmake: Do not disable deprecation warnings for MSVC (C4996) 2024-05-28 20:19:14 +02:00
qmake Move QT_DISABLE_DEPRECATED_UP_TO and QT_WARN_DEPRECATED_UP_TO to header 2024-05-22 18:38:09 +02:00
src QStyleSheet/QProxyStyle: Avoid deref after setWindowFlags in polish 2024-06-05 18:27:44 +00:00
tests SQL/IBase: add partial support for SQL_INT128 datatype 2024-06-05 13:16:46 +00:00
util qlocalexml2cpp.py: rework StringData handling of bit-sizes 2024-06-02 15:26:17 +02:00
.cmake.conf Add preliminary support for Qt for visionOS 2024-04-18 05:00:57 +02:00
.gitattributes
.gitignore Git ignore Visual Studio CMake build directories 2023-11-24 23:42:05 +01:00
.lgtm.yml
.tag
CMakeLists.txt cmake: add _extra_files IDE target from heuristics 2024-04-12 08:36:01 +08:00
config_help.txt Change the -qpa configure argument logic 2024-05-14 20:48:12 +02:00
configure Change configure license 2024-02-02 15:23:02 +00:00
configure.bat configure.bat: Fix errors on Windows 2024-03-05 11:56:24 +01:00
configure.cmake Ensure that libzstd targets are promoted to global if they were found 2024-05-29 00:18:06 +02:00
dependencies.yaml
licenseRule.json Add license exception 2024-04-24 19:02:09 +02:00
qt_cmdline.cmake Remove superfluous entries from qt_cmdline.cmake 2024-05-03 18:42:37 +02:00