qt5base-lts/src
Samuel Rødal a298216bb4 Prevent crash due to giving QWidget::update() a large rect.
We can simply clip the update rect against the widget's rect and return
if it's empty. Otherwise we risk ending up with update rects that are
larger than INT_MAX due to multiple update rects being merged.

Task-number: QTBUG-30876
Change-Id: I23bd0149fbe8d1a007a60b228e6bddb45dc4fc32
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
2013-04-29 08:09:24 +02:00
..
3rdparty Fix def files for Mingw (32 bit) 2013-04-23 12:45:22 +02:00
android Remove dead code 2013-04-15 13:19:01 +02:00
angle Add missing intrin.h include for __cpuid 2013-04-23 12:45:16 +02:00
concurrent Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
corelib QFlags: Remove text promising 64 bit enums for 5.1 2013-04-28 10:33:20 +02:00
dbus Doc: Fix module name in .qdocconf 2013-04-26 14:18:16 +02:00
gui Get rid of this hack where QAccessible inherits from QObject. 2013-04-26 23:27:18 +02:00
network QNX host lookup: do not try to load libresolv.so, it is not there 2013-04-24 09:01:14 +02:00
opengl Doc: Fix module name in .qdocconf 2013-04-26 14:18:16 +02:00
openglextensions Make sure that we #include qconfig.h before testing for features. 2013-03-19 07:02:57 +01:00
platformsupport Added grabbing option for qevdevkeyboard and mouse. 2013-04-23 12:39:14 +02:00
plugins Android: fix crash on exit 2013-04-26 21:19:23 +02:00
printsupport QPrinter - Fix doc errors 2013-04-12 11:46:01 +02:00
sql qsql_odbc: fix SQLGetStmtAtt usage 2013-04-24 01:30:20 +02:00
testlib Fix the QTouchEventSequence code snippet so that it compiles 2013-04-18 09:18:43 +02:00
tools qdoc: Adjust regexp that generates tags from module names 2013-04-26 14:18:16 +02:00
widgets Prevent crash due to giving QWidget::update() a large rect. 2013-04-29 08:09:24 +02:00
winmain fix path adjustments in installed metafiles 2013-01-30 15:43:00 +01:00
xml Mark as unused the private members that aren't and CANNOT be used 2013-04-15 15:32:40 +02:00
src.pro make bootstrapping of qdoc optional 2013-04-03 00:37:48 +02:00