mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
Merge branch 'lwip/dns_stack_corruption_fix_v5.3' into 'release/v5.3'
fix(dns): Added addr_cnt to DNS resolution to fix multi-IP buffer overflow (v5.3) See merge request espressif/esp-idf!49195
This commit is contained in:
@@ -1155,9 +1155,13 @@ menu "LWIP"
|
||||
|
||||
config LWIP_DNS_MAX_HOST_IP
|
||||
int "Maximum number of IP addresses per host"
|
||||
range 1 8
|
||||
default 1
|
||||
help
|
||||
Maximum number of IP addresses that can be returned by DNS queries for a single host.
|
||||
Allowed values are 1--8. In lwIP this is ``DNS_MAX_HOST_IP``. Multi-IP DNS APIs
|
||||
require the caller's ``addr_cnt`` argument to satisfy 0 < addr_cnt <= DNS_MAX_HOST_IP;
|
||||
otherwise they return ``ERR_ARG``.
|
||||
|
||||
config LWIP_DNS_MAX_SERVERS
|
||||
int "Maximum number of DNS servers"
|
||||
|
||||
Submodule components/lwip/lwip updated: 392707e5c3...ae0674e0c5
Reference in New Issue
Block a user