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:
Dominik Ermel <dominik.ermel@nordicsemi.no>
Loading
Please sign in to comment