Searched hist:"908 ce2d47501389a030175555d7e8a34baf28717" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/pta/ |
| H A D | system.c | 908ce2d47501389a030175555d7e8a34baf28717 Thu Mar 19 11:48:50 UTC 2020 Jens Wiklander <jens.wiklander@linaro.org> core: fix handle return in system_open_ta_binary()
Prior to this patch system_open_ta_binary() was not updating the params[0].value.a out parameter used to carry a handle of the opened binary. Fix this by assigning the value to the handle to params[0].value.a.
Note that if only one binary is opened at a time the handle will be 0 and ldelf will still work even without this fix.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Jerome Forissier <jerome@forissier.org> Reported-by: Bastien Simondi <bsimondi@netflix.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
|