Home
last modified time | relevance | path

Searched hist:bc1d13c122371e8d16aa154f2bde93e5f28a2df9 (Results 1 – 1 of 1) sorted by relevance

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

Adds checks that the ELF program header PT_DYNAMIC 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>