commit | 31d39e9d98a47154983a5d911755ad19470e46b0 | [log] [tgz] |
---|---|---|
author | Arve Hjønnevåg <arve@android.com> | Tue Oct 27 14:18:42 2020 -0700 |
committer | Arve Hjønnevåg <arve@android.com> | Tue Oct 27 14:24:00 2020 -0700 |
tree | e188073ff612675a7e736c01684f770439f02f7c | |
parent | 1d05e322ac319d5b7b50d2c4faaf473a36b154d8 [diff] |
[lib][backtrace] Fix crash on corrupt ret_addr If a stack frame of a kernel thread contains a user-space return address dump_function would crash trying to get a pointer to the trusty_app. This can happen if the kernel stack overflows and we reset the stack pointer to handle the exception. Bug: 165825378 Change-Id: I37600902e7bfd27a4f02d11c8f9461a6161e4cb9