Input: atmel_mxt_ts - verify object size in mxt_write_object
authorDaniel Kurtz <djkurtz@chromium.org>
Wed, 9 May 2012 05:38:52 +0000 (22:38 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 11 May 2012 03:39:05 +0000 (20:39 -0700)
commitd1ff320f0a9766a53ae412d96f72bd861a889af6
treedc60b58f939dadf51d53e5051f5db465049a1523
parent71b3e938cb97f6cf324fb5aaca46d8e400dc38f0
Input: atmel_mxt_ts - verify object size in mxt_write_object

Don't allow writing past the length of an object.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/atmel_mxt_ts.c