Files
esp-idf/components/lwip
David Cermak 315e3361c9 fix(lwip): Fix DHCP server potentially incomplete pbuf copy
handle_dhcp: use pbuf_copy_partial for safe chain traversal

The manual two-segment copy loop was replaced with a single call
to pbuf_copy_partial(p, p_dhcps_msg, tlen, 0), which correctly
walks the entire pbuf chain regardless of segmentation.
A return-value check rejects truncated copies.
2026-05-07 09:42:03 +02:00
..