esp-idf/components
Jakob Hasse 19eab31660 [system]: Made longjmp save for context switch
* Patched longjmp to be context-switch safe
  longjmp modifies the windowbase and windowstart
  registers, which isn't safe if a context switch
  occurs during the modification. After a context
  switch, windowstart and windowbase will be
  different, leading to a wrongly set windowstart
  bit due to longjmp writing it based on the
  windowbase before the context switch. This
  corrupts the registers at the next window
  overflow reaching that wrongly set bit.

  The solution is to disable interrupts during
  this code. It is only 6 instructions long,
  the impact shouldn't be significant.

  The fix is implemented as a wrapper which
  replaces the original first instructions of
  longjmp which are buggy. Then, it jumps back
  to execute the rest of the original longjmp
  function.

  Added a comparably reliable test to the
  test apps.
2021-05-10 19:21:56 +08:00
..
app_trace gcov_example: Adds cmake target to generate report 2019-07-05 12:44:35 +00:00
app_update tools: Redirect some warnings to stderr 2020-12-15 13:32:49 +07:00
asio components: use new component registration api 2019-06-21 19:53:29 +08:00
bootloader [system]: Made longjmp save for context switch 2021-05-10 19:21:56 +08:00
bootloader_support spi_flash: add config option to override flash size in bootloader header 2021-02-26 10:12:16 +08:00
bt Merge branch 'bugfix/ble_timeout_disconnected_no_report_v4.0' into 'release/v4.0' 2021-05-10 03:03:58 +00:00
coap coap: update libcoap to fix its broken submodule pointer 2020-09-14 10:59:52 +05:30
console cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
cxx toolchain: C++ exception workaround 2020-12-16 09:25:36 +07:00
driver spi: fix duplex mode switch issue for multi devices 2021-05-06 15:56:33 +08:00
efuse Tools: add Python 2 deprecation warning 2020-12-08 15:46:41 +01:00
esp32 Add Task Watchdog backtrace printing 2021-05-10 03:09:20 +00:00
esp_adc_cal [cxx]: fixed extern "C" declarations 2021-04-23 07:22:09 +00:00
esp_common Add Task Watchdog backtrace printing 2021-05-10 03:09:20 +00:00
esp_eth esp_eth: moved extern "C" after includes 2020-11-21 09:37:34 +00:00
esp_event esp_wifi: fix some wifi bugs 2021-05-08 19:55:00 +08:00
esp_gdbstub gdb: Modify PC in case of invalid PC 2020-07-31 07:40:12 +00:00
esp_http_client esp_http_client_read: Add check for esp_http_client_is_complete_data_received before returning ESP_FAIL 2021-04-29 05:13:52 +00:00
esp_http_server esp_http_server: Add lru_socket flag in sock_db to indicate httpd_sess_close is called from httpd_sess_close_lru 2021-01-22 11:17:17 +05:30
esp_https_ota esp_https_ota.c: Add fix to return failure if (-1) is returned from esp_http_client_read 2020-07-08 09:57:43 +05:30
esp_https_server esp_https_server: Add support for esp-tls server APIs 2019-06-25 23:43:35 +00:00
esp_local_ctrl esp_local_ctrl: Fix some memory leak issues by coverity static analyzer. 2021-03-23 12:00:29 +05:30
esp_ringbuf ringbuf: Remove deprecated RingbufferType_t 2019-09-19 18:48:55 +10:00
esp_rom [system]: Made longjmp save for context switch 2021-05-10 19:21:56 +08:00
esp_websocket_client Add options for esp_http_client and esp_websocket_client to support keepalive 2021-01-25 21:01:30 +08:00
esp_wifi esp_wifi: fix some wifi bugs 2021-05-08 19:55:00 +08:00
esp-tls Modify esp-tls and tcp_transport to support keep alive for tcp and ssl connection 2021-01-25 21:01:25 +08:00
espcoredump espcoredump: fix error reported for blank partition 2020-07-15 08:30:28 +02:00
esptool_py esptool: Update to fix espsecure.py sign_data default version argument 2021-05-03 04:19:31 +00:00
expat expat: Update library from 2.2.5 to 2.2.9 2019-12-05 09:17:39 +01:00
fatfs fatfs: Fix some memory leak issues by coverity static analyzer. 2021-03-23 11:57:50 +05:30
freemodbus freemodbus: fix event processing failure after destroy 2021-05-10 08:43:42 +02:00
freertos freertos: move some of the initialization functions out of IRAM 2021-05-07 04:32:49 +00:00
heap Merge branch 'bugfix/heap_psram_fill_v4.0' into 'release/v4.0' 2020-05-29 12:43:45 +08:00
idf_test test: move auto test script to new repo (backport) 2020-10-24 09:25:33 +08:00
jsmn components: use new component registration api 2019-06-21 19:53:29 +08:00
json cJSON: include only source file objects for cmake build 2020-02-10 17:32:26 +05:30
libsodium cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
log esp_wifi: backport some wifi bugs 0323 2020-03-24 15:10:31 +08:00
lwip backport bugfix lwip for v4.0 2021-04-29 13:03:39 +00:00
mbedtls mbedtls: upgrade to v2.16.9 release 2021-01-07 11:20:30 +05:30
mdns mDNS: Fix of text length calculation when detecting a collision 2021-01-15 16:53:27 +04:00
mqtt MQTT: Update submodule reference: config, error handle, minor fixes 2020-11-20 10:25:40 +01:00
newlib newlib: Fix UT for adjtime 2020-08-06 20:03:18 +08:00
nghttp cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
nvs_flash nvs: unit tests for new partition API 2020-11-12 10:02:05 +08:00
openssl openssl: made verification mode conversion to mbetls modes more strict 2020-09-17 14:38:15 +02:00
partition_table add file stream parameter and log stdout and stderr to same stream 2020-09-18 10:39:40 +02:00
protobuf-c components: use new component registration api 2019-06-21 19:53:29 +08:00
protocomm protocomm: Fixed NULL check of allocated memory 2021-03-05 10:21:24 +05:30
pthread pthread: fix the priority inheritance 2020-11-21 08:21:57 +00:00
sdmmc sdmmc: fix the probe issue that forbid sdspi working in highspeed mode 2020-07-28 12:19:51 +08:00
soc deep sleep: optimize sleep current in wifi softap mode 2021-04-29 15:13:47 +08:00
spi_flash remove othercore cache disable 2021-04-27 14:36:23 +08:00
spiffs tools: Redirect some warnings to stderr 2020-12-15 13:32:49 +07:00
tcp_transport tcp_transport: Fix some memory leak issues by coverity static analyzer. 2021-03-23 11:58:32 +05:30
tcpip_adapter esp_wifi: Modify WIFI_IF_AP to TCPIP_ADAPTER_IF_AP 2021-01-27 15:00:55 +08:00
ulp Tools: add Python 2 deprecation warning 2020-12-08 15:46:41 +01:00
unity cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
vfs vfs: support vfs uart set line endings with specified uart number (release/v4.0) 2020-08-14 15:39:39 +08:00
wear_levelling global: update note in the partition tables 2019-07-27 10:28:16 +02:00
wifi_provisioning wifi_provisioning: Fix some memory leak issues by coverity static analyzer. 2021-03-23 11:59:34 +05:30
wpa_supplicant wpa_supplicant: Group key reinstallation fixes 2021-05-10 11:22:01 +05:30
xtensa [system]: Made longjmp save for context switch 2021-05-10 19:21:56 +08:00