[v3.7] Crash if enabling v4-mapping-to-v6 and DHCPv4 #76360
Labels
area: Networking
bug
The issue is a bug, or the PR is fixing a bug
priority: medium
Medium impact/importance bug
Milestone
If user enables
CONFIG_NET_IPV4_MAPPING_TO_IPV6
andCONFIG_NET_DHCPV4
at the same time, thennet_dhcpv4_init()
will callnet_udp_register()
withNULL
net_context pointer. This in turn will cause a NULL pointer access when checking V6ONLY socket option.The text was updated successfully, but these errors were encountered: