diff options
author | Daniel Ritz <[email protected]> | 2008-01-17 12:01:18 -0500 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2008-01-17 12:01:18 -0500 |
commit | 62aa366d9b0158a81eace3b83e6b027789f7575b (patch) | |
tree | e4cfc7b8c93189ce02aa1b8c32a81fa02f18351f /net/unix/sysctl_net_unix.c | |
parent | 6724f93463c332018e05f538a2ab3ce41eac0e8a (diff) |
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.
[[email protected]: coding-style fixes]
Signed-off-by: Daniel Ritz <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions