esp-idf/components/nvs_flash/src
negativekelvin 553725df84 nvs_flash: Multi-page blob erased using nvs_erase_key should be cleaned properly
Earlier eraseItem function in Storage class would do lazy cleanup of
multi-page blobs if called using type "ANY" instead of "BLOB". It used to
just delete BLOB data and index would remain as is. Any subsequent read
would delete index entry as well. This however would return a valid
length without error if nvs_get_blob API was just used for finding
length and not reading the complete blob. This change fixes this issue.

Closes https://github.com/espressif/esp-idf/issues/3255
2019-05-07 05:53:19 +00:00
..
compressed_enum_table.hpp components/nvs: make some methods const 2016-08-23 12:08:00 +08:00
intrusive_list.h nvs_flash: Add support for nvs encryption 2018-09-24 11:25:21 +05:30
nvs_api.cpp nvs_flash: Add support for nvs encryption 2018-09-24 11:25:21 +05:30
nvs_encr.cpp nvs_flash: Add support for nvs encryption 2018-09-24 11:25:21 +05:30
nvs_encr.hpp nvs_flash: Add support for nvs encryption 2018-09-24 11:25:21 +05:30
nvs_item_hash_list.cpp nvs: do eager cleanup of HashListBlocks 2019-02-28 20:38:31 +08:00
nvs_item_hash_list.hpp nvs: don’t expect items with bad CRC to be in cache 2018-04-16 09:36:17 +00:00
nvs_ops.cpp nvs_flash: Add support for nvs encryption 2018-09-24 11:25:21 +05:30
nvs_ops.hpp nvs_flash: Add support for nvs encryption 2018-09-24 11:25:21 +05:30
nvs_page.cpp nvs_flash: Add support for nvs encryption 2018-09-24 11:25:21 +05:30
nvs_page.hpp nvs_flash: Version compatibility check for nvs storage 2018-08-05 00:00:56 +00:00
nvs_pagemanager.cpp nvs-flash: Support for blobs larger than half of SPI Flash sector size 2018-07-20 00:13:15 +05:30
nvs_pagemanager.hpp nvs_flash: Add support for nvs encryption 2018-09-24 11:25:21 +05:30
nvs_platform.hpp nvs: allow nvs_flash_init to be called more than once 2016-11-18 20:11:16 +08:00
nvs_storage.cpp nvs_flash: Multi-page blob erased using nvs_erase_key should be cleaned properly 2019-05-07 05:53:19 +00:00
nvs_storage.hpp nvs_flash: Add support for nvs encryption 2018-09-24 11:25:21 +05:30
nvs_test_api.h nvs_flash: Add support for nvs encryption 2018-09-24 11:25:21 +05:30
nvs_types.cpp nvs-flash: Support for blobs larger than half of SPI Flash sector size 2018-07-20 00:13:15 +05:30
nvs_types.hpp nvs-flash: Support for blobs larger than half of SPI Flash sector size 2018-07-20 00:13:15 +05:30
nvs.hpp Initial public version 2016-08-17 23:08:22 +08:00