wangbin 1882a00b9d crash: fix null pointer reference when CONFIG_KASAN is open
If CONFIG_KASAN is open, CONFIG_VMAP_STACK will be closed. And
the sdei_stack_normal_ptr will be undefined. When crash init the
stack, sdei_stacks will not init. We should not access the sdei_stacks
later, so check null pointer before access it.

Signed-off-by: wangbin <wangbin224@huawei.com>
2021-09-03 16:14:17 +08:00
2021-02-01 11:37:13 +08:00
2020-08-13 19:37:15 +08:00
Description
No description provided
119 MiB
Languages
Diff 100%