zephyr/subsys/net
Daekeun Kang b24c5201a0 net: fix handle unaligned memory access in net_context_bind()
This commit addresses an issue in net_context_bind() where unaligned
memory access was not properly handled when checking for INADDR_ANY.
The problem primarily affected MCUs like ARMv6 that don't support
unaligned memory access.

- Use UNALIGNED_GET() to safely access the sin_addr.s_addr field
- Ensures correct behavior on architectures with alignment restrictions

This fix improves compatibility and prevents potential crashes or
unexpected behavior on affected platforms.

Signed-off-by: Daekeun Kang <dkkang@huconn.com>
2024-08-26 17:08:08 +02:00
..
conn_mgr net: shell: add conn_mgr shell commands 2024-08-20 10:31:55 +02:00
ip net: fix handle unaligned memory access in net_context_bind() 2024-08-26 17:08:08 +02:00
l2 net: l2: ieee802154: 6lo_fragment: improved error message 2024-08-26 17:06:37 +02:00
lib net: capture: enable capturing of IPv6/v4 only 2024-08-26 17:06:37 +02:00
pkt_filter net: pkt_filter: Introduce additional hooks for pkt_filter 2023-07-10 09:27:47 +02:00
buf_simple.c net: buf: Add const to net_buf API 2024-07-08 16:02:39 +02:00
buf.c net: buf: Clear user_data on allocation 2024-08-19 09:55:24 -04:00
CMakeLists.txt net: conn_mgr: Write documentation 2023-09-28 15:11:14 +02:00
hostname.c net: hostname: Add a function to set the hostname postfix as is. 2024-07-28 07:28:51 +03:00
Kconfig net: Add Kconfig for net buf alignment 2023-12-14 09:29:47 +01:00
Kconfig.hostname net: add set hostname function 2024-01-17 14:42:58 +01:00
Kconfig.template.log_config.default.net
Kconfig.template.log_config.net