Searched hist:c7c077208ac7df780f811a0ff582a9692298eeba (Results 1 – 1 of 1) sorted by relevance
| /optee_os/lib/libutils/ext/include/ |
| H A D | confine_array_index.h | c7c077208ac7df780f811a0ff582a9692298eeba Sat Apr 25 17:56:47 UTC 2020 Etienne Carriere <etienne.carriere@linaro.org> libutils: confine_array_index: fix 32bit modes implementation
Fix implementation of confine_array_index() for 32bit Arm and Thumb2 modes as previous implementation did not set the return value explicitly and relied on luck with the layout of the machine code to return the correct value.
Fixes: https://github.com/OP-TEE/optee_os/issues/3799 Fixes: 2b6dd0df52b4 ("confine_array_index.h: add A32 and T32 versions of confine_array_index()") Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Tested-by: Etienne Carriere <etienne.carriere@linaro.org> (qemu,qemu_v8) Acked-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Jerome Forissier <jerome@forissier.org>
|