diff options
author | Ilias Apalodimas | 2020-12-23 13:25:00 +0200 |
---|---|---|
committer | Heinrich Schuchardt | 2020-12-31 14:27:56 +0100 |
commit | ffa375e6e56f890468baf22bcb50ee3d0292a0c4 (patch) | |
tree | 292745e45ce8b109b271e4e5ab5f9ecc57ff1c12 /Licenses/mit.txt | |
parent | c0c21d67f0654f9d3641b9dd3bdfd635110c2bc1 (diff) |
efi_loader: Extra checks while opening an OPTEE session
When opening an OP-TEE session we need to check the internal return
value of OP-TEE call arguments as well the return code of the
function itself.
The code was also ignoring to close the OP-TEE session in case the
shared memory registration failed.
Fixes: f042e47e8fb43 ("efi_loader: Implement EFI variable handling via OP-TEE")
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'Licenses/mit.txt')
0 files changed, 0 insertions, 0 deletions