]> git.karo-electronics.de Git - linux-beck.git/commit
drivers:misc:ti-st: protect against bad packets
authorGigi Joseph <gigi.joseph@gmail.com>
Fri, 9 Jan 2015 03:49:03 +0000 (03:49 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Jan 2015 13:04:11 +0000 (05:04 -0800)
commit0ec0cf19201da36af858a6bc052a13e88866f341
tree7e2affa30dc0c565d01aed5fd1ff47a4a92b81a7
parent868eba8e13d592f2eb9774777c9f3d9286482154
drivers:misc:ti-st: protect against bad packets

We encounter situations where we got bad packet type from the
UART (probably due to platform problem or UART driver issues)
which caused us out of boundary array access,
which eventually led to kernel panic.

Signed-off-by: Amir Ayun <amira@ti.com>
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Leonid Iziumtsev <x0153368@ti.com>
Signed-off-by: Gigi Joseph <gigi.joseph@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ti-st/st_core.c