Home
last modified time | relevance | path

Searched hist:"447354 c6e527cee8d2071b6a2c3ab2f6adf953aa" (Results 1 – 1 of 1) sorted by relevance

/optee_os/ldelf/
H A Dta_elf_rel.c447354c6e527cee8d2071b6a2c3ab2f6adf953aa Wed Mar 04 14:02:26 UTC 2020 Jens Wiklander <jens.wiklander@linaro.org> ldelf: strict checks during relocation

Adds strict check of symbol index, string table index and destination
location when relocating an ELF. This fixes an error where a malformed
ELF may cause the loader to read/write data from/in other ELF or from
the loader itself.

Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Reported-by: Martijn Bogaard <martijn@riscure.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>