Skip to content
Commit 80e42f28 authored by Ofir Shemesh's avatar Ofir Shemesh Committed by Benjamin Cabé
Browse files

drivers: flash: flash_mcux_flexspi_nor: Add validation checks



Added area_is_subregion() to validate offset and size within bounds.
Ensured read, write, and erase operations check for valid memory regions.
Added null buffer check in read and write functions to prevent errors.

Signed-off-by: default avatarOfir Shemesh <ofirshemesh777@gmail.com>
parent 484a513a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment