zephyr/subsys/net
Robert Lubos 2f2c356ca7 net: tcp: Verify if IPv4/IPv6 is enabled before processing addr family
TCP processed IPv4/IPv6 packets w/o verifying first if IPv4/IPv6 is
enabled in the system. This could lead to problems especially for IPv6,
where in case it's disabled the sockaddr structure is not large enough
to accomodate IPv6 address, leading to possible out-of-bound access on
the sockaddr structure.

Fix this by adding appropriate checks where applicable.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2022-03-16 04:21:34 -07:00
..
ip net: tcp: Verify if IPv4/IPv6 is enabled before processing addr family 2022-03-16 04:21:34 -07:00
l2 net: remove unmaintained 6LoCAN implementation 2022-03-09 18:07:31 +01:00
lib net: lwm2m: Composite Observation update 2022-03-16 10:26:01 +01:00
pkt_filter kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
buf.c net: buf: move user_data to flexible arr member 2021-11-24 16:04:50 +02:00
CMakeLists.txt net: introduce a network packet filter framework 2021-12-21 17:06:35 +01:00
hostname.c net: hostname: Update unique hostname on link address change 2021-01-13 17:50:32 +02:00
Kconfig net: introduce a network packet filter framework 2021-12-21 17:06:35 +01:00
Kconfig.hostname net: hostname: Update unique hostname on link address change 2021-01-13 17:50:32 +02:00
Kconfig.template.log_config.default.net kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.template.log_config.net kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00