Searched hist:"5 c0860db3f473f43b18f0ec6c84ff020b6bb85b4" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/ldelf/ |
| H A D | ta_elf_rel.c | 5c0860db3f473f43b18f0ec6c84ff020b6bb85b4 Wed Mar 04 10:29:46 UTC 2020 Jens Wiklander <jens.wiklander@linaro.org> ldelf: check that hashtab entries are in range
Adds checks that each looked up entry in the hashtab is in the range of the hashtab. This fixes an error where a malformed ELF may cause the loader to read data from other ELF or from the loader itself.
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Reported-by: Martijn Bogaard <martijn@riscure.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
|