From 7ab85eb4dc7d7695960d940badcd62592c365056 Mon Sep 17 00:00:00 2001 From: Abhik Roy Date: Wed, 27 May 2026 20:08:42 +1000 Subject: [PATCH] fix(lwip): update submodule for DNS buffer overflow fix and CI sync Updates esp-lwip from 392707e5c to ae0674e0c (2.1.3-esp backport), bringing in: * dns: add addr_cnt to DNS resolution to fix multi-IP buffer overflow (71140bce) --- components/lwip/Kconfig | 4 ++++ components/lwip/lwip | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/components/lwip/Kconfig b/components/lwip/Kconfig index e76634ff705..ac78aefd695 100644 --- a/components/lwip/Kconfig +++ b/components/lwip/Kconfig @@ -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" diff --git a/components/lwip/lwip b/components/lwip/lwip index 392707e5c3a..ae0674e0c52 160000 --- a/components/lwip/lwip +++ b/components/lwip/lwip @@ -1 +1 @@ -Subproject commit 392707e5c3a5d8e2531461db77843b9759cd5a43 +Subproject commit ae0674e0c52c3293ce5f60846c8ef87c1d4b827c