]> git.ipfire.org Git - people/arne_f/kernel.git/commit
Input: cyttsp - fix memcpy size param
authorFerruh Yigit <fery@cypress.com>
Thu, 23 May 2013 16:56:55 +0000 (09:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jun 2013 17:39:08 +0000 (10:39 -0700)
commitd5f31259ca287923cef5a8efc566ff004fd472d0
tree37c97737bd5a3d636478838b72cb4a090be643da
parent15aaf7e76567ab59307bfd68aa0be41abaa5b003
Input: cyttsp - fix memcpy size param

commit d2983cdb480157f637df07723f28aaa657b1080d upstream.

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>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/touchscreen/cyttsp_core.c