fs: nvs: Add more strict checks to determine if an ATE is valid
Make sure that the ATE metadata does not overflow the sector size.
Take into account the data length and also the mandatory reserved ATEs
in each sector.
Signed-off-by:
Adrien Ricciardi <aricciardi@baylibre.com>
Loading
Please sign in to comment