linux/drivers/input
Dan Carpenter 0b75f77528 Input: pcf8574_keypad - fix off by one in pcf8574_kp_irq_handler()
If nextstate == ARRAY_SIZE(lp->btncode), then we read one past the end of
the array on the next line.

This fixes a smatch warning:
drivers/input/misc/pcf8574_keypad.c +74 pcf8574_kp_irq_handler(8)
	error: buffer overflow 'lp->btncode' 17 <= 17

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2010-06-05 00:34:45 -07:00
..
gameport
joystick Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 2010-05-20 21:26:12 -07:00
keyboard m68k: amiga - Keyboard platform device conversion 2010-05-26 19:51:09 +02:00
misc Input: pcf8574_keypad - fix off by one in pcf8574_kp_irq_handler() 2010-06-05 00:34:45 -07:00
mouse m68k: amiga - Mouse platform device conversion 2010-05-26 19:51:09 +02:00
serio Merge remote branch 'origin' into secretlab/next-devicetree 2010-05-22 00:36:56 -06:00
tablet Input: wacom - add Cintiq 21UX2 and Intuos4 WL 2010-06-04 00:43:17 -07:00
touchscreen Input: ads7846 - fix compiler warning in ads7846_probe() 2010-06-02 00:40:35 -07:00
apm-power.c
evbug.c
evdev.c
ff-core.c
ff-memless.c
fixp-arith.h
input-compat.c
input-compat.h
input-polldev.c
input.c
joydev.c Input: use ABS_CNT rather than (ABS_MAX + 1) 2010-05-20 23:05:28 -07:00
Kconfig
Makefile
mousedev.c
sparse-keymap.c
xen-kbdfront.c