Input: cyttsp - fix memcpy size param
authorFerruh Yigit <fery@cypress.com>
Thu, 23 May 2013 16:56:55 +0000 (09:56 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 6 Jun 2013 05:46:30 +0000 (22:46 -0700)
commitd2983cdb480157f637df07723f28aaa657b1080d
treecf6c7038a85a31bf079747b48d540144462f93f3
parent3bd1f7e2db4124a2726f9afdeaaf82f09b0bd8eb
Input: cyttsp - fix memcpy size param

memcpy param is wrong because of offset in bl_cmd, this may corrupt the
stack which may cause a crash.

Tested-by: Ferruh Yigit <fery@cypress.com> on TMA300-DVK
Signed-off-by: Ferruh Yigit <fery@cypress.com>
Acked-by: Javier Martinez Canillas <javier@dowhile0.org>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/cyttsp_core.c