~thopiekar/emgd/xserver-xorg-input-synaptics-github_community

  • Committer: Peter Hutterer
  • Date: 2012-05-16 01:52:35 UTC
  • Revision ID: git-v1:23065a974e5dcdf0d6a436a0547bb7887d306a6f
Avoid out-of-bounds access by running num_active_touches < 0 (#49439)

If a touch is active during driver init, the slot will be set to
SLOTSTATE_CLOSE when it finishes. That could decrease num_active_touches to
less than 0, causing out-of-bounds access.

X.Org Bug 49439 <http://bugs.freedesktop.org/show_bug.cgi?id=49439>

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
(cherry picked from commit 77d766b1d535dff9a27c7db343ede85d9f44850b)
Filename Latest Rev Last Changed Committer Comment Size
..
conf 981 14 years ago Peter Hutterer Add 50-synaptics.conf snippet. If the server expo Diff
docs 338 18 years ago Peter Osterlund Implemented a proper state machine for tap and dra Diff
include 798 15 years ago Peter Hutterer Move synaptics.h into include/, create synapticsst Diff
man 758 15 years ago Christoph Brill Rename the "manpages" directory to "man". This wa Diff
src 754 15 years ago Christoph Brill Start reorganizing the source tree First let's mo Diff
test 1114 13 years ago Peter Hutterer Add basic framework for unit-testing. Also adds a Diff
tools 792 15 years ago Peter Hutterer Move synclient and syndaemon into a /tools/ direct Diff
.gitignore 1145 12 years ago Gaetan Nadon Revert "build: collapse all Makefile.am files into 1013 bytes Diff Download File
File autogen.sh 764 15 years ago Christoph Brill Add the autogen.sh from xf86-input-evdev. We will 195 bytes Diff Download File
configure.ac 1285 12 years ago Peter Hutterer synaptics 1.6.1 Signed-off-by: Peter Hutterer <pe 6.8 KB Diff Download File
COPYING 1017 13 years ago Gaetan Nadon COPYING: add three missing authors listed in synap 1.7 KB Diff Download File
Makefile.am 1150 12 years ago Gaetan Nadon Add distcheck support for configuration files when 1.5 KB Diff Download File
README 1128 13 years ago Christoph Brill Update maintainer information There is no distinc 5.1 KB Diff Download File
xorg-synaptics.pc.in 840 15 years ago Peter Hutterer Install synaptics-properties.h in xorg include pat 123 bytes Diff Download File