commit | e3ddabca754e3651cf735bb9cb416c736222a6bd | [log] [tgz] |
---|---|---|
author | Arve Hjønnevåg <arve@android.com> | Tue Jan 28 16:17:47 2020 -0800 |
committer | Arve Hjønnevåg <arve@android.com> | Tue Jan 28 16:23:38 2020 -0800 |
tree | 521188669c355e41ed20cb97efa837412096a9ad | |
parent | a2139f0649d2d732c3d208bb2fd38a78ca82a2f5 [diff] |
[lib][trusty] Fix crash in current_trusty_app If the current thread is not a trusty thread, return NULL instead of crashing. Fixes infinite crash loop on 32 bit arm kernel if a kernel thread crashes. Bug: 80146040 Change-Id: I3d3246a08de4e0a3c2acf085b9de56b3e2df8d3c