diff options
| author | Heinrich Schuchardt <[email protected]> | 2024-12-05 20:17:36 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-12-19 12:17:37 -0600 |
| commit | d701c6ab4220a3f5e0fdef06720816d67c46f56d (patch) | |
| tree | 2027cc0c02345f11652b09cc8eeae795ffc52b53 /doc/develop | |
| parent | b6691d0add999459393a19f0f02b66243ee2a4ae (diff) | |
net: lwip: check if network device is available in do_dhcp
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.
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Jerome Forissier <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions
