Skip to content
Commit f20cc4b7 authored by Dominik Ermel's avatar Dominik Ermel Committed by Kumar Gala
Browse files

storage/flash_map: Fix flash area bounds checking



The commit adds check if offset is positive; previously negative
offset would be allowed, which means that writing flash before flash
area start was possible.

Signed-off-by: default avatarDominik Ermel <dominik.ermel@nordicsemi.no>
parent b574c4f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment