zephyr/subsys/net/lib
Rex Chen dcf42917c5 net: lib: dhcpv4: Add check for input parameter of echo_reply_handler
For station and internal AP coexist case, station connected to
external AP, ping from station to external AP cause cpu hang.

Internal AP dhcpv4 server register handler echo_reply_handler
on icmp handler by net_icmp_init_ctx for dhcp server snoop
feature. Ping also register handler handle_ipv4_echo_reply on
icmp handler for ping cmd. If no external station connect to
internal AP, input parameter ‘user_data’ of function
echo_reply_handler is NULL. When we trigger ping process,
icmp_call_handlers fetch all handlers from icmp handler
if receive any ICMP packet, so echo_reply_handler be called,
but input parameter is NULL, cause CPU hang.
Add input parameters check to fix this issue.

Signed-off-by: Rex Chen <rex.chen_1@nxp.com>
2024-06-18 11:07:09 +02:00
..
capture net: capture: Generate events when starting / stopping capture 2024-04-04 17:02:11 +02:00
coap net: lib: coap_client: observe-related fixes 2024-05-21 16:42:38 -04:00
config net: config: Add support for IPv4 ACD 2024-06-10 00:59:28 -07:00
dhcpv4 net: lib: dhcpv4: Add check for input parameter of echo_reply_handler 2024-06-18 11:07:09 +02:00
dhcpv6 net: dhcpv6: Add configurable DUID buffer length 2024-04-03 10:28:20 +03:00
dns net: dns: llmnr_responder: Print query type properly 2024-06-03 09:49:01 +02:00
http net: change controlling expressions in while to Boolean 2024-06-11 20:03:16 +03:00
lwm2m net: lwm2m: Retry DTLS handshake before dropping to bootstrap 2024-06-14 15:34:39 +02:00
mqtt net: change controlling expressions in while to Boolean 2024-06-11 20:03:16 +03:00
mqtt_sn net: Use always zephyr/posix/fcntl.h 2024-03-27 13:40:13 -05:00
ptp net: ptp: Network interface status check in PTP thread 2024-06-13 05:40:41 -04:00
shell net: shell: Add IPv4 and IPv6 connectivity events 2024-06-10 00:59:34 -07:00
sntp net: lib: sntp_simple: add a function to use with ip address 2024-02-28 18:03:53 +00:00
sockets net: sockets: use z_finalize_typed_fd() to identify as sockets 2024-06-15 07:47:12 -04:00
socks net: socks: Remove socket selection 2024-03-27 13:40:13 -05:00
tftp net: tftp: Use zsock_ API functions 2024-03-27 13:40:13 -05:00
tls_credentials net: tls_credentials: Add missing base64.h header inclusion 2024-05-23 07:47:41 -04:00
trickle net: trickle: Rename interval function 2024-03-19 15:20:14 -05:00
utils
websocket net: sockets: use z_finalize_typed_fd() to identify as sockets 2024-06-15 07:47:12 -04:00
zperf net: zperf: Fix upload ping timeout error 2024-05-15 17:07:58 +02:00
CMakeLists.txt net: ptp: Initial PTP library implementation 2024-06-13 05:40:41 -04:00
Kconfig net: ptp: Initial PTP library implementation 2024-06-13 05:40:41 -04:00