esp-idf/examples/network/sta2eth/main
David Cermak cce9a80aee fix(sta2eth): Check for null `netif` before starting/stopping DHCP server
Fixes a potential null pointer dereference in `esp_netif` when PPP mode is enabled.
In the Ethernet event handler, `esp_netif_dhcps_start()` and `esp_netif_dhcps_stop()`
are now only called if `netif` is non-null (in provisioning mode when
the actual TCP/IP stack from IDF is used, in work mode the `netif` is
null, since the trafic is simply forwarded between wireless and wired
networks without TCP/IP stack involved)

Closes https://github.com/espressif/esp-idf/issues/14816
2024-11-07 17:48:59 +01:00
..
CMakeLists.txt
Kconfig.projbuild fix(sta2eth): Make some Ethernet options configurable 2024-11-07 17:48:53 +01:00
ethernet_iface.c fix(sta2eth): Check for null `netif` before starting/stopping DHCP server 2024-11-07 17:48:59 +01:00
idf_component.yml
manual_config.c
provisioning.c
provisioning.h
scheme_generic_httpd.c
sta2eth_main.c
usb_ncm_iface.c
wired_iface.h