Home
last modified time | relevance | path

Searched hist:"385000 b08b0d7ad53b0c13fb1aead0a4e669dd43" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/kernel/
H A Dtee_misc.c385000b08b0d7ad53b0c13fb1aead0a4e669dd43 Mon Oct 01 14:50:40 UTC 2018 Etienne Carriere <etienne.carriere@linaro.org> core: correct overflows in range overlap functions

Buffers that end at end of the available address range which
may happen on 32bit machine fail have an end address that of
computed as 0. This change uses the computation already used
in _core_is_buffer_inside() to ensure functions
_core_is_buffer_outside() and _core_is_buffer_intersect()
return a reliable result.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>