Commit Graph

7133 Commits

Author SHA1 Message Date
jincheng
f4ce4efdb8 fix acl can not disconnect when hf_client disconnect 2021-09-03 11:03:52 +08:00
Wang Meng Yang
e173e47322 Merge branch 'bugfix/SCO_connect_fail_after_peer_not_accept_sniff_v3.3' into 'release/v3.3'
bugfix/unable to initiate SCO connection when peer device not accept sniff mode (v3.3)

See merge request espressif/esp-idf!14399
2021-08-23 05:19:36 +00:00
xiongweichao
a6c52e1924 components/bt: fix spp memory leak 2021-08-19 14:53:20 +08:00
lly
71fc9de66b ble_mesh: Update the SIG recommendations for CVE issues 2021-08-18 11:01:17 +08:00
KonstantinKondrashov
8c987d0f04 freertos: Increases delta for UT - Test suspend-resume CPU. The number of tick_hook should be the same for both CPUs 2021-08-03 15:35:20 +05:00
Marius Vikhammer
d5447f197d uart: fix typo in error message
Closes https://github.com/espressif/esp-idf/issues/7360
2021-08-03 09:31:12 +08:00
yuanjm
c47854f1fc esp_http_client: Optimize code structure 2021-07-27 20:01:05 +08:00
Clickau
4b07e33a12 esp_http_client: fix truncated headers
Signed-off-by: yuanjm <yuanjianmin@espressif.com>

Merges https://github.com/espressif/esp-idf/pull/6370
2021-07-27 20:01:05 +08:00
Alex Henrie
5401610a4e Fix memory leak on error path in http_header_set_format 2021-07-25 07:59:27 +05:30
Alex Henrie
f1ba2b3e3a Fix memory leak on error path in md5_printf 2021-07-25 07:59:10 +05:30
Jakob Hasse
b2a9dc283b Merge branch 'bugfix/esp_event_any_id_unregister_3.3' into 'release/v3.3'
ESP Event: fix unregister documentation (backport 3.3)

See merge request espressif/esp-idf!14435
2021-07-23 07:49:09 +00:00
Mahavir Jain
08d29e2aaa mbedtls: upgrade to release v2.16.11
For detailed release notes please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.11
2021-07-20 14:43:06 +05:30
Jakob Hasse
352fb9168a [esp_event]: fixed and improved docs
* Description of unregistering was incorrect
* Made clear that event loop arg mustn't be NULL
* Added parameter check in create function

Closes https://github.com/espressif/esp-idf/issues/6761
Closes IDFGH-4969
2021-07-20 16:09:53 +08:00
xiongweichao
e793571cc4 Not initialized or in the process of de-initialization, calling API will return ERR 2021-07-19 21:53:55 +08:00
xiongweichao
b1985c2392 fix a2dp deinit crash 2021-07-19 21:53:49 +08:00
xiongweichao
cd40b05bd0 Add remove sniff when peer not accepted sniff mode 2021-07-19 10:53:23 +08:00
Chinmay Chhajed
4b81abe053 bt/controller: Fix for BLE ACL tx flush issue during reset. 2021-07-19 10:53:23 +08:00
Yang Zhao
af8e81d18e 1.If the scan window set as 4 slots and the scan interval set as 5 slots,
then the device will crash when starting scanning.This commit is to fix this bug.
2.Remove duplicate events in r_lld_evt_end
2021-07-19 10:53:23 +08:00
Zim Kalinowski
700eee91ca Merge branch 'bugfix/prefetch_invalid_v3.3' into 'release/v3.3'
soc: add dummy bytes to ensure instr prefetch always valid (v3.3)

See merge request espressif/esp-idf!12997
2021-07-19 01:42:17 +00:00
Zim Kalinowski
41676c779c Merge branch 'docs/spi_max_transfer_sz_limit_v3.3' into 'release/v3.3'
spi_docs: Fixed the default value of max_transfer_sz_limit (backport v3.3)

See merge request espressif/esp-idf!14256
2021-07-16 05:57:32 +00:00
Prasad Alatkar
3deffb785f NimBLE: Fix build error for broadcaster role and bug in peer_dev_record (v3.3)
* Fix bug in nvs deletion of `ble_dev_record`.
* Update NimBLE submodule to nimble-1.1.0-idf-v3.3.
2021-07-13 13:55:37 +08:00
Angus Gratton
bfd4f8646e Merge branch 'bugfix/mitigate_test_time_adjustment_happens_linearly_v3.3' into 'release/v3.3'
newlib: Mitigate UT - time adjustment happens linearly

See merge request espressif/esp-idf!14309
2021-07-13 04:31:44 +00:00
Mahavir Jain
e2015eb371 Merge branch 'bugfix/heap_trace_invalid_addr_v3.3' into 'release/v3.3'
heap: fix backtrace termination (v3.3)

See merge request espressif/esp-idf!13899
2021-07-12 12:23:00 +00:00
Zim Kalinowski
d93ad78b46 Merge branch 'feature/regi2c_add_lock_v3.3' into 'release/v3.3'
regi2c: add a spinlock for accessing (reg)I2C devices (backport v3.3)

See merge request espressif/esp-idf!13717
2021-07-09 07:34:18 +00:00
Marius Vikhammer
5b91a8173e soc: add dummy bytes to ensure instr prefetch always valid
The CPU might prefetch instructions, which means it in some cases
will try to fetch instruction located after the last instruction in
flash.text.

Add dummy bytes to ensure fetching these wont result in an error,
 e.g. MMU exceptions
2021-07-09 14:40:24 +08:00
KonstantinKondrashov
04a6aae1d1 newlib: Mitigate UT - time adjustment happens linearly 2021-07-08 19:21:44 +05:00
Michael (XIAO Xufeng)
b59c06c107 spi_docs: Fixed the default value of max_transfer_sz.
(cherry picked from commit e89fabb963)
2021-07-05 14:36:46 +08:00
Michael (XIAO Xufeng)
69af3d2a72 Merge branch 'bugfix/fix_adc-dma_reading_gap_for_esp32_backport_v3.3' into 'release/v3.3'
bugfix(adc): missing ranges of ADC codes in ESP32 (backport v3.3)

See merge request espressif/esp-idf!12876
2021-06-27 13:31:24 +00:00
Jiang Jiang Jian
b403b0dbd5 Merge branch 'bugfix/fix_amsdu_fragment_vulnerability_v3.3' into 'release/v3.3'
esp_wifi: fix amsdu & fragment vulnerabilities(v3.3)

See merge request espressif/esp-idf!14100
2021-06-24 09:50:38 +00:00
Mahavir Jain
557525eeb9 Merge branch 'bugfix/http_client_test_memcorupt_v3.3' into 'release/v3.3'
ci/test: Fix esp_http_client test not to use pointer after free (v3.3)

See merge request espressif/esp-idf!13706
2021-06-23 14:11:50 +00:00
Wang Meng Yang
26d8690525 Merge branch 'bugfix/ble_set_scan_param_error_v3.3' into 'release/v3.3'
Fix the bug when ble setting scan param

See merge request espressif/esp-idf!13980
2021-06-23 09:11:59 +00:00
David Cermak
1de77f5412 ci/test: Fix esp_http_client test not to use pointer after free 2021-06-23 08:39:42 +02:00
ChenJianxing
671ab9223c esp_wifi: fix amsdu & fragment vulnerabilities 2021-06-22 20:48:37 +08:00
Angus Gratton
760ea137ee Merge branch 'bugfix/driver_spi_poll_test_stack_v3.3' into 'release/v3.3'
driver test: Increase stack for the "spi poll tasks" test (v3.3)

See merge request espressif/esp-idf!13810
2021-06-22 04:14:08 +00:00
wangjialiang
411abfd70f ble_mesh: stack: Fix crash for net_key_del when subnet is NULL 2021-06-21 14:57:17 +08:00
wangjialiang
84dd05439d ble_mesh: stack: Make unprovisioned beacon interval configurable.
Closes https://github.com/espressif/esp-idf/issues/6722
2021-06-21 14:55:10 +08:00
wangjialiang
35bbd1ba26 ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth Mesh Provisioning Leads to MITM 2021-06-17 17:21:01 +08:00
wangjialiang
78676e7a02 ble_mesh: stack: Add check the value of Provisioning Random & Confirmation sent and received by provisioner 2021-06-16 21:28:10 +08:00
Yang Zhao
77c7d3be1c bugfix:Set address resolution enable. If not set enable and the filter
policy is 2 or 3, the controller will reply with invalid param error.
2021-06-15 20:08:04 +08:00
lly
9590db4cb6 ble_mesh: stack: Move bt_mesh_rand to mesh_common.c 2021-06-10 09:52:26 +08:00
lly
b2bcbd5559 ble_mesh: stack: Remove useless BT_DBG_ENABLED in a few files 2021-06-10 09:52:09 +08:00
lly
94ca8b8917 ble_mesh: Replace zephyr integer types with C99 types [Zephyr] 2021-06-10 09:51:52 +08:00
lly
85ec75b970 ble_mesh: stack: Update ARRAY_SIZE definition 2021-06-10 09:50:27 +08:00
Ivan Grokhotkov
19636db724 test: add a (non-automated) case for backtraces with ROM functions 2021-06-08 17:28:00 +10:00
Ivan Grokhotkov
11caa6fcf2 heap: recognize 0x40000000 as an address terminating the backtrace
On Xtensa, backtrace can not recover the two most significant bits of
the address, as the window call size is encoded in these bits.
Because of this, __builtin_return_address modifies these MSBs to
match those of the callee, "fixing" the address. An unfortunate side
effect is that the zero return address, which usually terminates the
backtrace, gets converted to 0x40000000. While there is a valid
instruction at this address, its occurrence in the backtrace is
highly unlikely: this is the first instruction of WindowOverflow4
vector, and IDF apps switch VECBASE to an IRAM location very early at
startup.
2021-06-08 17:28:00 +10:00
Angus Gratton
e2d6ce553d cmake: partition_table: Fix generation of MD5 for partition table when using CMake 2021-06-07 17:59:12 +10:00
Island
cce139e5bd Merge branch 'bugfix/bt_impersonation_passkey_fix_v3.3' into 'release/v3.3'
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack. (v3.3)

See merge request espressif/esp-idf!13762
2021-06-07 06:41:48 +00:00
Angus Gratton
d7562e2b2c driver test: Increase stack for the "spi poll tasks" test
Current stack usage gets very close to overflowing
2021-06-07 02:11:26 +00:00
Wang Meng Yang
c9cf530c51 Merge branch 'bugfix/invalid_feat_page_exec_v3.3' into 'release/v3.3'
bt controller: Fixed handling for invalid feature page.

See merge request espressif/esp-idf!13569
2021-06-07 01:35:22 +00:00
Angus Gratton
4e64cbb576 Merge branch 'bugfix/partition_table_integrity_check_v3.3' into 'release/v3.3'
paritition_table: Verify the partition table md5sum when loading in the app (v3.3)

See merge request espressif/esp-idf!13587
2021-06-04 08:26:21 +00:00