Skip to content
Commit d0a368e2 authored by Justin Brzozoski's avatar Justin Brzozoski Committed by Anas Nashif
Browse files

nvs: fix overwriting with truncated data



When overwriting an NVS item with data that was a truncated version of
the existing data, the "is this already saved" logic was ignoring the
differing lengths and not saving the new item because the data matched.

Fixes #19250

Signed-off-by: default avatarJustin Brzozoski <justin.brzozoski@signal-fire.com>
parent b233ab8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment