qt6-bb10/src
Romain Pokrzywka c161c6db78 Fix a race condition in QEvdevTabletHandler::readData()
Statics and threads don't mix well. There can be multiple threads
calling QEvdevTabletHandler::readData() simultaneously if you have
several tablet devices registered with the plugin, creating a race on
the static buffer array.

Make the buffer a simple local variable instead, the array is small
enough that we can afford the per-thread stack allocation.

Change-Id: I4487add8df50743b8178ca6faeb9be45231ccb78
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
2017-08-14 19:02:23 +00:00
..
3rdparty Bump minimum glibc requirement for sys/eventfd.h to glibc 2.8 2017-08-04 17:56:34 +00:00
android Android: fix missing wheel events 2017-06-18 12:59:14 +00:00
angle ANGLE: Fix build for newer MinGW versions 2017-08-02 16:38:28 +00:00
concurrent Adapt to the C++ SIC introduced by P0012: noexcept specialization 2017-05-03 02:39:56 +00:00
corelib Doc: indicate the QSharedMemory::size() that the size may be bigger 2017-08-13 20:47:37 +00:00
dbus Fix race condition in QDBusAbstractInterfacePrivate::initOwnerTracking() 2017-08-04 18:47:55 +00:00
gui Fix reset with qoffscreensurface destruction with multimonitor support 2017-08-08 07:57:31 +00:00
network QNAM: requeue pipelined HTTP requests after unrecoverable socket errors 2017-08-14 14:20:52 +00:00
opengl Make high-dpi QGLWidget work cross platform 2017-08-02 21:58:21 +00:00
openglextensions Also release winmain, qopenglextensions under commercial licenses 2016-11-18 16:19:56 +00:00
platformheaders Doc: rephrase parameter description to avoid qdoc error message 2017-04-18 10:37:50 +00:00
platformsupport Fix a race condition in QEvdevTabletHandler::readData() 2017-08-14 19:02:23 +00:00
plugins macOS: Make alpha-based click-trough work again 2017-08-09 11:31:52 +00:00
printsupport configure: Add a feature to write tests in the .json file 2017-08-02 16:37:48 +00:00
sql Convert features.combobox to QT_[REQUIRE_]CONFIG 2017-07-25 11:23:45 +00:00
testlib Add flowId to messages when logging in TeamCity format 2017-08-04 18:48:48 +00:00
tools Bump copyright year of qdbuscpp2xml and qdbusxml2cpp to 2017 2017-07-14 13:00:54 +00:00
widgets Widgets: Fix ImSurroundingText query for a QLineEdit with mask 2017-08-11 13:27:37 +00:00
winmain Merge remote-tracking branch 'origin/5.8' into 5.9 2017-02-08 15:49:18 +01:00
xml Prefer rvalue versions of toLatin() and toUtf8() 2017-03-30 20:31:59 +00:00
src.pro Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-27 10:42:08 +02:00