summaryrefslogtreecommitdiffstats
path: root/src/plugins/sqldrivers/ibase/qsql_ibase.cpp
diff options
context:
space:
mode:
authorWladimir Leuschner <[email protected]>2024-05-30 13:47:58 +0200
committerWladimir Leuschner <[email protected]>2024-06-05 19:47:09 +0200
commit26af5d1854336907d6d7fd6aa1ad060f6d38ce1c (patch)
treea96ab29fd3302524c5f1d26cc2059c37bef1e6f8 /src/plugins/sqldrivers/ibase/qsql_ibase.cpp
parenta3df8dac90c6f78c6b8832e8413b8542818cea0e (diff)
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.8 6.7 Change-Id: I841bf68143e893d74ab7373b7a3d3d4ee2bce514 Reviewed-by: Richard Moe Gustavsen <[email protected]>
Diffstat (limited to 'src/plugins/sqldrivers/ibase/qsql_ibase.cpp')
0 files changed, 0 insertions, 0 deletions