aboutsummaryrefslogtreecommitdiff
path: root/src/emuMB.c
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2012-06-06 12:07:12 -0700
committerPeter Hutterer <peter.hutterer@who-t.net>2012-06-07 11:31:57 +1000
commit4145fe1c087708bf5d6608e328342282ecb93ab0 (patch)
treead3b6f9233cee9f7c876a65c5567745155794252 /src/emuMB.c
parentReport the correct number of touches for MT protocol B devices (diff)
downloadxf86-input-evdev-4145fe1c087708bf5d6608e328342282ecb93ab0.tar.gz
xf86-input-evdev-4145fe1c087708bf5d6608e328342282ecb93ab0.tar.bz2
xf86-input-evdev-4145fe1c087708bf5d6608e328342282ecb93ab0.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>
Diffstat (limited to 'src/emuMB.c')
0 files changed, 0 insertions, 0 deletions