Searched hist:ab49cb75f475662c42f7c8fbc06cc3c551734100 (Results 1 – 1 of 1) sorted by relevance
| /optee_os/ldelf/ |
| H A D | ta_elf.c | ab49cb75f475662c42f7c8fbc06cc3c551734100 Wed Mar 04 11:20:09 UTC 2020 Jens Wiklander <jens.wiklander@linaro.org> ldelf: check dynsymtab and dynstr ranges
Checks the ranges of dynsymtab and dynstr. Also checks that the dynstr index in section headers isn't out of range. 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> Reported-by: Martijn Bogaard <martijn@riscure.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
|