Skip to content
Commit 2143502f authored by Peter Mitsis's avatar Peter Mitsis Committed by Carles Cufí
Browse files

include: util: Add Z_DETECT_POINTER_OVERFLOW()



The Z_DETECT_POINTER_OVERFLOW() macro is intended detect whether
or not a buffer spans a region of memory that goes beyond the
highest possible address (thereby overflowing the pointer).

Signed-off-by: default avatarPeter Mitsis <peter.mitsis@intel.com>
parent eb3a56d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment