summaryrefslogtreecommitdiff
path: root/drivers/misc/c55_ctrl.c
diff options
context:
space:
mode:
authorMohsan Habibi <mohsan@motorola.com>2014-03-27 12:26:07 -0400
committerMohsan Habibi <mohsan@motorola.com>2014-03-27 12:36:37 -0400
commit01a60327f28d0358239bb6971c756b9c64d5bf40 (patch)
tree043fdb1457e77849d82809884cd91f0749e08f84 /drivers/misc/c55_ctrl.c
parent4b27a5742509c8efc6030569ddf32bf189f0b261 (diff)
downloadolio-linux-3.10-01a60327f28d0358239bb6971c756b9c64d5bf40.tar.xz
olio-linux-3.10-01a60327f28d0358239bb6971c756b9c64d5bf40.zip
IKXCLOCK-483 Input: lower ABS_TILTSCROLL to value below ABS_CNT
ABS_TILTSCROLL is currently set to a value higher than ABS_MAX which causes memory corruption if an input driver uses ABS_TILTSCROLL. The input driver always allocates ABS_CNT elements for the absinfo array, however if an input driver uses ABS_TILTSCROLL, the driver will attempt to access memory beyond the bounds of its allocation due to the ABS_TILTSCROLL index being higher than ABS_CNT. To fix this, decrease ABS_TILTSCROLL to 0x3e, which is lower than ABS_CNT. Change-Id: Iab9d06349fe54be42fa8f8e7efd66c4295576501 Signed-off-by: Mohsan Habibi <mohsan@motorola.com>
Diffstat (limited to 'drivers/misc/c55_ctrl.c')
0 files changed, 0 insertions, 0 deletions