Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: prevent crash in tee_mmu_final() on TA loading error
If the creation of the TA execution context fails before the mapping directives are initialized, tee_mmu_final() will be called with the TA context field mmu being NULL. This change allows tee_mmu_final() to be called with uninitialized mapping resources without crashing the core. Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
- Loading branch information