Home
last modified time | relevance | path

Searched hist:"9318 ba35a6ae8b3d0039949d4cc5755b62edae96" (Results 1 – 1 of 1) sorted by relevance

/optee_os/ldelf/
H A Dta_elf.c9318ba35a6ae8b3d0039949d4cc5755b62edae96 Wed Mar 04 12:48:35 UTC 2020 Jens Wiklander <jens.wiklander@linaro.org> ldelf: check string table ranges

Checks that the string table is in the range of the ELF and also checks
that offsets into the string table are indeed inside the string table.
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>