linux-kernel-test/drivers/input
Daniel Ritz 62aa366d9b Input: usbtouchscreen - fix buffer overflow, make more egalax work
Fix a buffer overflow in mutli-packet handling code.  The overflow can
only happen with eGalax devices and is even there very unlikely (only
non-report packet are affected any only when truncated after the first
byte).

Also changes the mutli-packet handling code not to drop unknown packets,
but rather just drop one byte.  This allows synchronizing on report packets
in the data stream.  It's required for some egalax devices to work at all.

Also remove the pointless 'flags' member of the device struct and set the
version number to 0.6, plus some minor cleanups.

[akpm@linux-foundation.org: coding-style fixes]

Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2008-01-17 12:01:18 -05:00
..
gameport gameport: don't export functions that are static inline 2008-01-03 10:46:03 -05:00
joystick Input: xpad - add more USB IDs 2007-10-27 23:42:13 -04:00
keyboard Input: improve Kconfig help entries for HP Jornada devices 2008-01-14 00:54:23 -05:00
misc typo fixes 2007-10-20 01:34:40 +02:00
mouse Input: inport, logibm - use KERN_INFO when reporting missing mouse 2007-11-01 22:19:15 -04:00
serio Input: i8042 - add i8042.noloop quirk for MS Virtual Machine 2007-11-21 14:17:38 -05:00
tablet get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
touchscreen Input: usbtouchscreen - fix buffer overflow, make more egalax work 2008-01-17 12:01:18 -05:00
evbug.c Input: rework handle creation code 2007-04-12 01:29:46 -04:00
evdev.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
ff-core.c Input: force feedback - make sure effect is present before playing 2007-05-03 00:51:10 -04:00
ff-memless.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
fixp-arith.h changed email 2007-10-20 00:47:32 +02:00
input-polldev.c Input: polled device power saving 2007-09-26 00:01:25 -04:00
input.c Input: pass EV_PWR events to event handlers 2008-01-03 10:46:21 -05:00
joydev.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
Kconfig Input: remove tsdev interface 2007-10-13 00:38:52 -04:00
Makefile Input: remove tsdev interface 2007-10-13 00:38:52 -04:00
mousedev.c Input: mousedev - handle mice that use absolute coordinates 2008-01-17 12:01:04 -05:00