Home
last modified time | relevance | path

Searched hist:"4 f5bc11d48c3d1a314e520f9472f83687a27c9cb" (Results 1 – 1 of 1) sorted by relevance

/optee_os/ldelf/
H A Dta_elf.c4f5bc11d48c3d1a314e520f9472f83687a27c9cb Wed Mar 04 10:04:04 UTC 2020 Jens Wiklander <jens.wiklander@linaro.org> ldelf: check that hashtab is in range before use

Adds checks that the hashtab found via the dynamic section is in range
of the loaded ELF before they are used. This fixes an error where a
malformed ELF may cause the loader to read data from other ELF or from
the loader itself.

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