Benedek Brandschott
b33745d104
fix(esp_http_server): report truncation when header value length matches buffer size
...
httpd_req_get_hdr_value_str() detected truncation with `val_size < full_size`, where full_size is the strlcpy() return value. strlcpy() returns strlen() of the source (the terminating null is not counted), so truncation actually occurs when strlen(src) >= val_size. At strlen(src) == val_size the value is copied as val_size - 1 chars + NUL (i.e. truncated) yet ESP_OK was returned, so the caller never learned the value was cut.
Use `val_size <= full_size` and correct the misleading comment about strlcpy()'s return value.
Same truncation-reporting class fixed for httpd_cookie_key_value in PR #16202 ; httpd_req_get_hdr_value_str was missed. No memory-safety impact: strlcpy() null-terminates if val_size > 0.
2026-07-01 10:20:19 +08:00
Jiang Jiang Jian
9d263e3725
Merge branch 'feat/nd6_static_neighbor_entries' into 'master'
...
feat(lwip): Add IPv6 static neighbor cache entry support
See merge request espressif/esp-idf!49961
2026-06-30 23:34:17 +08:00
Sudeep Mohanty
8541991224
Merge branch 'fix/lp_spi_driver_and_tests' into 'master'
...
fix(ulp/lp_spi): fix stale data in driver
Closes IDF-11471, IDF-11472, and IDFCI-10465
See merge request espressif/esp-idf!48972
2026-06-30 15:50:26 +02:00
Sudeep Mohanty
ddaa9699b3
Merge branch 'fix/lp_periph_init_fail_with_cpp' into 'master'
...
fix(ulp): make LP peripheral default config macros C++ compatible
Closes IDFGH-17404
See merge request espressif/esp-idf!49950
2026-06-30 15:36:38 +02:00
Mahavir Jain
cb33ab16b3
Merge branch 'contrib/github_pr_18684' into 'master'
...
feat(httpd): avoid useless string copy by introducing httpd_req_get_url_query_str_ptr() (GitHub PR)
Closes IDFGH-17758
See merge request espressif/esp-idf!49682
2026-06-30 18:15:48 +05:30
Jiang Jiang Jian
9bd49630fc
Merge branch 'bugfix/clear_ifx_tx_queue' into 'master'
...
bugfix(wifi): Clear Sta TX queue to prevent key 2 send failure
Closes WIFIBUG-745 and WIFIBUG-1597
See merge request espressif/esp-idf!40211
2026-06-30 19:47:15 +08:00
Fu Hanxi
ae7898bb14
Merge branch 'fix/mspi_pre_commit_fix' into 'master'
...
fix(spi_flash): remove mspi_test xip_psram test with missing config to fix check_pre_commit job
See merge request espressif/esp-idf!50159
2026-06-30 12:58:48 +02:00
akshat
f4708595e6
bugfix(wifi): Clear Sta TX queue to prevent key 2 send failure
...
Also, Ensure correct return values for key 2 and key 4.
2026-06-30 14:56:15 +05:30
Martin Vychodil
943602c0ac
Merge branch 'bugfix/idf-15334-normalize-partition-table-cli' into 'master'
...
fix(partition_table): normalize CLI output with esp-pylib
Closes IDF-15334
See merge request espressif/esp-idf!49989
2026-06-30 17:10:52 +08:00
Martin Vychodil
7d515c1e2e
Merge branch 'bugfix/idfci-12308-fatfs-bdl-test-stack-overflow' into 'master'
...
fix(fatfs): avoid stack overflow in BDL diskio partition test
Closes IDFCI-12308
See merge request espressif/esp-idf!49895
2026-06-30 16:58:56 +08:00
Jiang Jiang Jian
936083c626
Merge branch 'feat/pasn_verification' into 'master'
...
feat(nan): Add changes for nan pasn verification
See merge request espressif/esp-idf!49694
2026-06-30 16:58:13 +08:00
Martin Vychodil
caf132aaf0
Merge branch 'bugfix/idfci-8839-remove-orphan-test-configs' into 'master'
...
fix(fatfs): re-enable fatfs and vfs psram/ccomp CI tests
Closes IDFCI-8839
See merge request espressif/esp-idf!49986
2026-06-30 16:55:51 +08:00
Sudeep Mohanty and Cursor
ae1386e891
test(ulp/lp_spi): improve test stability and add cleanup
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-30 10:21:56 +02:00
Sudeep Mohanty and Cursor
a019532119
fix(ulp/lp_spi): fix driver bugs and add bus deinit API
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-30 10:21:34 +02:00
Nachiket Kukade
17ff376098
bugfix(nan): Fix hard/soft reset cases in NAN Pairing verification
...
- Update pairing complete API to record for peer
- Terminate NAN Datapaths using publish_id after receiving PASN M1
2026-06-30 12:58:44 +05:30
Sajia
c18887b05c
feat(nan): Add support for NAN Pairing Verification
...
- Add nira attr and verification for pasn auth frames
- Refine key clearing and pairing complete logic for pasn verify
- Add NIRA own-service resolution, cached NIK checks, and dynamic
pairing IE construction for bootstrap vs verify paths.
- Replace NAN bootstrap events by private callbacks
2026-06-30 12:58:41 +05:30
Jiang Jiang Jian
8b8a2115e4
Merge branch 'bugfix/fix_tx_issues_introduced_by_keep_alive_opt' into 'master'
...
bugfix/fix tx issues introduced by keep alive opt
Closes WIFIBUG-1991, WIFIBUG-1999, and WIFIBUG-1994
See merge request espressif/esp-idf!50108
2026-06-30 15:16:07 +08:00
Harshal Patil
3bd70e2c34
Merge branch 'change/secure_boot_signing_key_type_check' into 'master'
...
Validate secure boot signing key type at configure time
See merge request espressif/esp-idf!49529
2026-06-30 12:31:42 +05:30
Konstantin Kondrashov
1d7bfe4c3f
Merge branch 'fix/esp_image_format' into 'master'
...
fix(esp_image_format): Fix some memory-safety issues
Closes IDF-15801 and SEC-1158
See merge request espressif/esp-idf!49675
2026-06-30 09:19:17 +03:00
Li Shuai
d69aed64ad
Merge branch 'feat/pm-788' into 'master'
...
support sleep retention destroy callback
Closes PM-788
See merge request espressif/esp-idf!49568
2026-06-30 11:55:57 +08:00
Island
6aa3757930
Merge branch 'idf/ble_audio_4.4.1' into 'master'
...
feat(ble_audio): Support Zephyr LE Audio v4.4.1
See merge request espressif/esp-idf!49780
2026-06-30 11:49:45 +08:00
Wang Meng Yang
3f98aa9ff9
Merge branch 'feat/add_sam' into 'master'
...
feat(bt): Added support for slot availablity mask functionality
See merge request espressif/esp-idf!49995
2026-06-30 08:48:07 +08:00
Nachiket Kukade
d244a37c12
feat(lwip): Add IPv6 static neighbor cache entry support
...
Add esp_netif_add_static_neighbor() and esp_netif_remove_static_neighbor(),
gated by CONFIG_LWIP_ND6_SUPPORT_STATIC_ENTRIES. These API's let callers
install/remove permanent IPv6->MAC mappings that bypass Neighbor Discovery
(no NS/NA). The calls run in the TCP/IP context and wrap the underlying lwIP
nd6_add_static_neighbor()/nd6_remove_static_neighbor() functions.
2026-06-30 02:21:50 +05:30
Sudeep Mohanty
caa1397768
fix(spi_flash): remove mspi_test xip_psram test with missing config
2026-06-29 15:21:31 +02:00
Mahavir Jain
1ec9740baf
Merge branch 'fix/harden_mbedtls_port_layer' into 'master'
...
fix(mbedtls): harden port layer to zeroize sensitive material
Closes SEC-395
See merge request espressif/esp-idf!49693
2026-06-29 18:45:17 +05:30
harshal.patil
100084bd61
change(bootloader): validate secure boot signing key type at configure time
...
The signing step (espsecure sign-data) derives the signature block type
from the key file itself, so selecting e.g. the RSA app signing scheme
with an ECDSA signing key produced a successfully built image that only
failed signature verification at boot.
Check the key at configure time and fail with a clear error when:
- the key family (RSA vs ECDSA) does not match the selected app signing
scheme
- the ECDSA curve does not match the selected ECDSA key size for the
ECDSA (V1/V2) schemes
- the key cannot be parsed as an unencrypted PEM private key
2026-06-29 16:59:52 +05:30
sonika.rathi
c56aa642b0
fix(partition_table): normalize CLI output with esp-pylib
2026-06-29 12:58:37 +02:00
Sudeep Mohanty and Cursor
c5d8ff7ef6
fix(ulp): make LP peripheral default config macros C++ compatible
...
Use dual-path macros: C keeps fragment-style designated initializers;
C++ uses GNU statement expressions (ESP_LOG_CONFIG_INIT pattern).
Add compile-only C++ regression tests for LP UART/I2C and ULP RISC-V I2C.
Closes https://github.com/espressif/esp-idf/issues/18369
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-29 12:16:39 +02:00
Liu Linyan
d6f24a448a
feat(ble_audio): Support Zephyr LE Audio v4.4.1
2026-06-29 17:43:53 +08:00
Konstantin Kondrashov
e08d198fd6
fix(esp_image_format): validate MMU page size
2026-06-29 12:10:50 +03:00
yinqingzhao
9bb9bbc781
fix(wifi): fix tx issues introduced by keeping alive optimization
2026-06-29 16:18:38 +08:00
yinqingzhao
7aa7a9da9c
fix(wifi): comment out functions from ld files
2026-06-29 16:18:38 +08:00
morris
a4fac3bed7
Merge branch 'feat/async_color_convert_scramble' into 'master'
...
feat(dma2d): support RGB24 and BGR24 scramble conversion
Closes IDF-15802
See merge request espressif/esp-idf!49814
2026-06-29 14:44:32 +08:00
Mahavir Jain
12496c87bf
Merge branch 'fix/esp_http_client_header_buffer_too_small' into 'master'
...
feat(esp_http_client): detect oversized headers in tx buffer at send site
Closes IDFGH-17696
See merge request espressif/esp-idf!49056
2026-06-29 11:39:47 +05:30
Rahul Tank
de70cf7e6b
Merge branch 'bugfix/fix_gatt_crash' into 'master'
...
fix(nimble): serialize NPL eventq ops to fix callout_reset race
Closes BLERP-2939
See merge request espressif/esp-idf!49967
2026-06-29 10:21:02 +05:30
Jiang Jiang Jian
ae860abd4c
Merge branch 'bugfix/ai_review_btu_common' into 'master'
...
fix: Fix the critical issues of btu and bt_common from AI review report
See merge request espressif/esp-idf!49574
2026-06-29 12:00:22 +08:00
Jiang Jiang Jian
af7e18f9d0
Merge branch 'bugfix/ai_review_a2dp' into 'master'
...
fix(bt): Fix the critical issues related to A2DP from AI review report
See merge request espressif/esp-idf!49355
2026-06-29 11:58:39 +08:00
Michael (XIAO Xufeng)
c1b218b640
Merge branch 'fix/mmap_cache_flash_wr' into 'master'
...
fix(mmap): fixed mmap read data wrong when flash being erased/written and cache not disabled
Closes IDFGH-14084
See merge request espressif/esp-idf!29804
2026-06-29 11:44:10 +08:00
liqigan
5b25128be8
feat(bt): Added support for slot availablity mask functionality
2026-06-29 10:57:53 +08:00
morris
624a21f359
feat(dma2d): support RGB24 and BGR24 scramble conversion
...
Add async color convert coverage for direct RGB24/BGR24 byte-order swaps
and
thread both TX and RX CSC state through DMA2D transactions for future
extensibility.
2026-06-28 17:07:18 +08:00
Island
3a34711eac
Merge branch 'bugfix/fix_bluedroid_rpa_whitelist_conn' into 'master'
...
Fix connection failure when using RPA with whitelist filtering(ESP32)
Closes ESPCS-1057
See merge request espressif/esp-idf!50042
2026-06-26 20:09:03 +08:00
Island
83c7c6ed82
Merge branch 'bugfix/fix_ble_write_fail' into 'master'
...
fix(ble/bluedroid): Fixed potential double Execute Write Response
Closes BLERP-2292
See merge request espressif/esp-idf!49413
2026-06-26 20:08:29 +08:00
Zhang Wen Xu
3630aab6c9
Merge branch 'fix/reverse-extended-address-byte-order-in-esp-radio-spiel' into 'master'
...
fix(openthread): add APIs to clear a single src match short and extended entry in esp radio spinel
See merge request espressif/esp-idf!49576
2026-06-26 11:15:12 +00:00
Island
3fe6482c51
Merge branch 'bugfix/fix_ble_sync_cmd_command_status_err' into 'master'
...
fix(ble/bluedroid): unblock sync HCI cmd on Command Status error
Closes BLERP-2926
See merge request espressif/esp-idf!49965
2026-06-26 16:52:18 +08:00
Island
a9921f900c
Merge branch 'bugfix/fix_gattc_disc_cmpl_stranded_read' into 'master'
...
fix(ble/bluedroid): set REQ_WAITING before GATTC service-change rediscovery
Closes BLERP-2925
See merge request espressif/esp-idf!49940
2026-06-26 16:52:06 +08:00
Island
b45f379fd1
Merge branch 'bugfix/fix_bluedroid_read_by_type_fail' into 'master'
...
fix(ble/bluedroid): cap Read By Type response length at ATT maximum
Closes BLERP-2895, BLERP-2896, and BLERP-2897
See merge request espressif/esp-idf!49656
2026-06-26 16:51:19 +08:00
Island
ba17bb5c6f
Merge branch 'opt/opt_bluedroid_memory' into 'master'
...
feat(ble/bluedroid): Optimize Bluedroid memory usage
Closes BLERP-2307
See merge request espressif/esp-idf!49666
2026-06-26 16:51:12 +08:00
Island
96234ffa93
Merge branch 'bugfix/preserve_hci_status_on_set_scan_params' into 'master'
...
fix(ble/bluedroid): preserve HCI status on BLE 4.2 GAP failures
Closes BLERP-2905
See merge request espressif/esp-idf!49746
2026-06-26 16:51:00 +08:00
Island
106fe3da23
Merge branch 'bugfix/fix_bluedroid_static_random_conn_rpa' into 'master'
...
fix(ble/bluedroid): skip identity conversion for static random direct connect
Closes BCI-620
See merge request espressif/esp-idf!49754
2026-06-26 16:50:54 +08:00
Island
296c0a28f2
Merge branch 'bugfix/fix_bluedroid_legacy_directed_adv_data_validate' into 'master'
...
fix(ble/bluedroid): reject non-zero adv data on legacy directed ext adv
Closes BLERP-2908
See merge request espressif/esp-idf!49758
2026-06-26 16:50:51 +08:00