-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nvs: hardening against bad sector close
A badly written sector close ate that has correct crc8 could allow jumps outside the assigned flash area. This behavior is fixed. A possibility existed that a badly erased sector or a incomplete write of a large item created a empty closed sector. This has been fixed by: a. Erase verification. b. Clearing such a sector at startup. Fixes #34382 Signed-off-by: Laczen JMS <laczenjms@gmail.com> Co-Authered-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
- Loading branch information
1 parent
af10c06
commit a71a8db
Showing
1 changed file
with
110 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters