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: NAmir Ayun <amira@ti.com> Signed-off-by: NPavan Savoy <pavan_savoy@ti.com> Signed-off-by: NLeonid Iziumtsev <x0153368@ti.com> Signed-off-by: NGigi Joseph <gigi.joseph@ti.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录