[PATCH 1/1] net: lwip: check if network device is available in do_dhcp

Tom Rini trini at konsulko.com
Thu Dec 19 22:43:19 CET 2024


On Thu, 05 Dec 2024 20:17:36 +0100, Heinrich Schuchardt wrote:

> eth_get_dev() returns NULL if no network device is available.
> Not checking the return value leads to a crash when the device
> pointer is dereferenced.
> 
> 

Applied to u-boot/master, thanks!

-- 
Tom




More information about the U-Boot mailing list