OVMS3-idf/components
Ivan Grokhotkov 2c3644a09f nvs: don’t expect items with bad CRC to be in cache
When erasing a variable length item with an incorrect CRC32, the span
value of the item can not be trusted, so the item will be erased with
span = 1. Subsequent entries represent the data of the variable
length item, and these will be treated as separate items. For each
entry CRC32 is checked, the check most likely fails (because the
entry contains arbitrary data, and not a proper NVS item), and the
entry is erased. Erase function assumed that every item should be
present in cache, but it is not the case for the entries which are
just parts of item’s payload. This change allows for the item to be
not found in the hashlist, if the CRC32 check fails.
2018-04-16 09:36:17 +00:00
..
app_trace esp32: Fixes apptrace down buffer management 2018-02-21 10:13:25 +03:00
app_update ota_ops: Fix get_selected_boot_partition() in case there is no factory partition 2017-09-04 17:37:28 +10:00
aws_iot aws iot: Expose Thing Shadow settings in menuconfig 2018-02-05 14:38:23 +08:00
bootloader Resolve problems found by enabling -Wwrite-strings compilation flag 2018-04-10 08:53:43 +02:00
bootloader_support Merge branch 'bugfix/flash_mapp' into 'master' 2018-03-30 19:32:35 +08:00
bt Merge branch 'feature/btdm_add_set_local_icon_api' into 'master' 2018-04-11 20:48:13 +08:00
coap Resolve problems found by enabling -Wwrite-strings compilation flag 2018-04-10 08:53:43 +02:00
console Resolve problems found by enabling -Wwrite-strings compilation flag 2018-04-10 08:53:43 +02:00
cxx unit tests: make static init guard test single core compatible 2018-01-23 07:56:13 +00:00
driver Merge branch 'bugfix/spi_miso_on_input_only_pins' into 'master' 2018-04-16 14:39:02 +08:00
esp-tls mbedtls integration in esp-tls 2018-04-06 17:16:27 +05:30
esp32 mesh: update mesh libs 2018-04-13 11:52:31 +08:00
esp_adc_cal bugfix/Fix BLK3_RESERVED_FLAG register and other minor bugs 2018-03-16 15:51:36 +08:00
espcoredump bugfix: fixed path to esptool when there is no compiled python module for it 2017-03-21 13:30:38 +03:00
esptool_py esptool: Update to v2.3.1 2018-02-28 10:17:14 +11:00
ethernet Set direction of SMI pins MDC and MDIO correctly. 2018-02-11 16:11:14 +08:00
expat Build system: Raise warning level 2016-11-16 15:57:34 +11:00
fatfs Resolve problems found by enabling -Wwrite-strings compilation flag 2018-04-10 08:53:43 +02:00
freertos Kconfig: esp32/freertos: add some missing dependencies 2018-02-21 12:31:10 +05:30
heap Merge branch 'bugfix/heap_fragmentation_on_split_pr1761' into 'master' 2018-04-10 12:14:57 +08:00
idf_test test: update ci test case 2018-04-10 14:08:10 +00:00
jsmn Add jsmn JSON parser component 2017-03-07 10:18:47 +11:00
json Update cJSON to v1.7.1 2018-02-05 14:15:26 +08:00
libsodium make: Build out of tree component srcs under component build dir 2018-04-06 13:10:19 +10:00
log component/bt: Fix BLE printf missing problem 2018-02-06 14:35:39 +08:00
lwip Fix two WiFi and LWIP typos 2018-04-05 11:46:42 +08:00
mbedtls Add #include guards and __cplusplus guards to esp_debug.h 2017-12-07 10:25:57 +11:00
mdns Fix exception when service is removed while there are pending packets that depend on it 2018-04-09 09:40:08 +03:00
micro-ecc micro-ecc: Add submodule dependency 2016-11-17 09:18:51 +11:00
newlib Resolve problems found by enabling -Wwrite-strings compilation flag 2018-04-10 08:53:43 +02:00
nghttp Ensure that C++ and C compilers get the same preprocessor setup 2017-10-26 13:04:41 +02:00
nvs_flash nvs: don’t expect items with bad CRC to be in cache 2018-04-16 09:36:17 +00:00
openssl Resolve problems found by enabling -Wwrite-strings compilation flag 2018-04-10 08:53:43 +02:00
partition_table partition_table: Optionally disable the MD5 checksum in partition tables 2018-02-22 07:46:41 +01:00
pthread pthread: Allow configuration of priority and stacksize 2018-03-20 18:06:32 +05:30
sdmmc sdmmc: improve error handling during SPI mode init 2018-04-11 11:11:17 +08:00
soc Merge branch 'bugfix/soc_clk_out_fields' into 'master' 2018-04-13 19:42:20 +08:00
spi_flash fix CI failed when flash chip size if 2MBytes 2018-03-29 17:48:59 +08:00
spiffs Resolve problems found by enabling -Wwrite-strings compilation flag 2018-04-10 08:53:43 +02:00
tcpip_adapter Make error codes globally unique 2018-03-27 08:12:54 +02:00
ulp soc,ulp: add register definitions of RTC_I2C peripheral 2018-01-08 21:28:14 +08:00
vfs vfs: consider O_NONBLOCK flag while opening UART FD 2018-03-29 14:20:14 +02:00
wear_levelling Structure size alligned by compiler. 2018-03-12 15:34:16 +03:00
wpa_supplicant Add the fast crypto function in supplicant 2017-08-09 21:36:13 +08:00
xtensa-debug-module esp32: Apptrace API enhancement 2017-07-24 19:57:44 +03:00