diff options
author | Chase Douglas <chase.douglas@canonical.com> | 2012-06-06 12:07:12 -0700 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-07-04 08:21:03 +1000 |
commit | ac772cde9469c406564433d6d41416fa2279fbf9 (patch) | |
tree | c697a83411e86b0800fb2f4d243ecf6f8d10fb78 /src/draglock.c | |
parent | Report the correct number of touches for MT protocol B devices (diff) | |
download | xf86-input-evdev-ac772cde9469c406564433d6d41416fa2279fbf9.tar.gz xf86-input-evdev-ac772cde9469c406564433d6d41416fa2279fbf9.tar.bz2 xf86-input-evdev-ac772cde9469c406564433d6d41416fa2279fbf9.zip |
Fix buffer overrun when populating axis label property array
The axis label property array currently only has enough elements for the
non-multitouch axes. This change allocates enough space for all axes,
which prevents an array overrun write. This may manifest as stack
corruption on some platforms.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 4145fe1c087708bf5d6608e328342282ecb93ab0)
Diffstat (limited to 'src/draglock.c')
0 files changed, 0 insertions, 0 deletions