Searched hist:"787295 df0b8a6982aaae1e8dc9a8185f6172b166" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/pta/ |
| H A D | system.c | 787295df0b8a6982aaae1e8dc9a8185f6172b166 Thu Mar 19 11:41:15 UTC 2020 Jens Wiklander <jens.wiklander@linaro.org> core: fix potential overflow in system_map_zi()
Fixes a potential overflow when calculating required page size for a fobj allocation. This is fixed by using the new ROUNDUP_DIV() macro instead of rounding up and the dividing.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Jerome Forissier <jerome@forissier.org> Reported-by: Bastien Simondi <bsimondi@netflix.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
|