Input: zforce - don't overwrite the stack
authorOleksij Rempel <external.Oleksij.Rempel@de.bosch.com>
Mon, 13 Jul 2015 16:54:42 +0000 (09:54 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 16 Jul 2015 17:47:30 +0000 (10:47 -0700)
commit7d01cd261c76f95913c81554a751968a1d282d3a
treec7f498c293813cbe977df45047a21251aae0811e
parentdbf3c370862d73fcd2c74ca55e254bb02143238d
Input: zforce - don't overwrite the stack

If we get a corrupted packet with PAYLOAD_LENGTH > FRAME_MAXSIZE, we
will silently overwrite the stack.

Cc: stable@vger.kernel.org
Signed-off-by: Oleksij Rempel <external.Oleksij.Rempel@de.bosch.com>
Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/zforce_ts.c