Skip to content
Commit 8ed4b62d authored by Flavio Ceolin's avatar Flavio Ceolin Committed by Johan Hedberg
Browse files

syscalls: arm: Fix possible overflow in is_in_region function



This function is widely used by functions that validate memory
buffers. Macros used to check permissions, like Z_SYSCALL_MEMORY_READ
and Z_SYSCALL_MEMORY_WRITE, use these functions to check that a
pointers passed by user threads in a syscall.

Signed-off-by: default avatarFlavio Ceolin <flavio.ceolin@intel.com>
parent 38a2e2cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment