diff options
author | Andre de la Rocha <andre.rocha@qt.io> | 2018-10-10 18:42:16 +0200 |
---|---|---|
committer | Andre de la Rocha <andre.rocha@qt.io> | 2018-10-12 14:42:03 +0000 |
commit | 4d51e099b369a29f844a905193b8b6cb69b3404c (patch) | |
tree | 5a062f3e3e5dc8c25d595ef11202335ac02dffd5 /qmake | |
parent | 9098ef697ad85cb0c7c589d6794b57bd0775dc64 (diff) |
WinRT QPA: Fix crash in QWinRTBackingStore::flush()
QWinRTBackingStore::flush() was not considering the possibility
that the supplied region may fall partially outside the bounds
of the paint device. This resulted in possible accesses to invalid
memory addresses, causing a crash. This bug was exposed by an update
in ANGLE that was causing a crash when running tst_QTableView::bigMode
with a small screen size. With this fix the function will use the
intersection of the supplied region with the paint device bounds.
Change-Id: I2f0f0f7f5510688bfa1459320a0c146df6be65d1
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
Diffstat (limited to 'qmake')
0 files changed, 0 insertions, 0 deletions