kgdb: Read buffer overflow
Roel Kluin reported an error found with Parfait. Where we want to ensure that that kgdb_info[-1] never gets accessed. Also check to ensure any negative tid does not exceed the size of the shadow CPU array, else report critical debug context because it is an internal kgdb failure. Reported-by: NRoel Kluin <roel.kluin@gmail.com> Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
Showing
想要评论请 注册 或 登录