zephyr/subsys
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
..
bluetooth Bluetooth: audio: Remove BT_CODEC_META_CONTEXT_* defines 2022-03-16 10:25:31 +01:00
canbus kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
console console: Kconfig: Remove EXPERIMENTAL marker 2021-10-22 09:46:22 -04:00
cpp kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
debug lib: os: assert: Avoid including printk.h in __assert.h 2022-03-16 10:27:20 +01:00
demand_paging
dfu kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
disk
emul i2c: emul: Add get_config function 2021-11-02 16:46:33 +01:00
fb samples: use chosen property to get default display controller 2021-12-10 12:47:30 +01:00
fs kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
ipc ipc_service: Start the wq only once 2022-03-07 10:52:51 +01:00
jwt
logging logging: backend_uart: configurable buffer size 2022-03-14 16:44:17 -05:00
lorawan lorawan: make unconfirmed message type explicit 2022-03-15 10:37:36 +01:00
mgmt subsys/mgmt/hawkbit: update http response handling 2022-03-16 10:25:38 +01:00
modbus kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
net net: tcp: Verify if IPv4/IPv6 is enabled before processing addr family 2022-03-16 04:21:34 -07:00
pm kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
portability portability: cmsis: use correct type for atomics 2021-11-15 09:59:01 -05:00
random random: rand32_xoshiro128: obtain entropy device using DEVICE_DT_GET 2022-03-11 15:27:05 -08:00
settings kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
shell shell: Add MQTT backend 2022-03-15 10:01:12 +01:00
stats stats: fixed implicit integer sign extension in stats_get_off() 2021-10-28 15:15:56 -04:00
storage kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
task_wdt task_wdt: fix overflow in current_ticks making wdt get stuck 2021-11-22 20:22:11 -05:00
testsuite testsuite: ztress: Delay start of the test 2022-03-15 13:19:28 -04:00
timing
tracing kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
usb kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
CMakeLists.txt
Kconfig