qt5base-lts/src/widgets
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
..
accessible Accessibility: Fix crash when updating in dtor 2013-03-23 14:42:45 +01:00
dialogs Fix build with QT_NO_CLIPBOARD 2013-04-23 14:07:37 +02:00
doc Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
effects Fix license headers stating QtGui for QtWidgets files. 2013-03-19 23:17:27 +01:00
graphicsview Make QGraphicsScene::touchEventhandler ignore unhandled touch events 2013-03-26 07:28:24 +01:00
itemviews Fix typo in docs 2013-04-23 14:07:50 +02:00
kernel Prevent crash due to giving QWidget::update() a large rect. 2013-04-29 08:09:24 +02:00
statemachine Fix license headers stating QtGui for QtWidgets files. 2013-03-19 23:17:27 +01:00
styles Don't do any transitions if the widget is disabled 2013-04-25 19:59:16 +02:00
util Fix license headers stating QtGui for QtWidgets files. 2013-03-19 23:17:27 +01:00
widgets Cocoa: Reflect menu hierarchy in QCocoaMenu* objects 2013-04-25 17:56:26 +02:00
Qt5WidgetsConfigExtras.cmake.in Don't calculate the install prefix again in the extra cmake files. 2013-02-13 01:14:42 +01:00
Qt5WidgetsMacros.cmake Create IMPORTED CMake targets for executables. 2012-07-25 13:59:15 +02:00
QtWidgets.dynlist Update dynlist file for QtWidgets 2013-03-18 17:11:03 +01:00
widgets.pro Update dynlist file for QtWidgets 2013-03-18 17:11:03 +01:00