zephyr/subsys/net
Jukka Rissanen 3e1e2ea8ec net: wifi: mgmt: Use memcpy instead of strncpy
Using strncpy gives this warning

warning: 'strncpy' output may be truncated copying 32 bytes from
  a string of length 32 [-Wstringop-truncation]

 strncpy(roaming_params.neighbor_rep.neighbor_ap[idx].bssid_info,
         bssid_info,
         sizeof(roaming_params.neighbor_rep.neighbor_ap->bssid_info));

There is '\0' at the end of the allocated buffer so we can safely
use memcpy() here to avoid any warnings.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-11-05 10:52:29 -06:00
..
conn_mgr cmake: linker: evaluate CONFIG_LINKER_ITERABLE_SUBALIGN in CMake 2024-09-25 16:16:35 -05:00
ip net: ipv4: Fix ARP probe check in address conflict detection 2024-10-29 07:07:59 -05:00
l2 net: wifi: mgmt: Use memcpy instead of strncpy 2024-11-05 10:52:29 -06:00
lib net: dns: Convert the query and answer to small case letters 2024-11-04 13:41:17 -06:00
pkt_filter
CMakeLists.txt net: silence no sources cmake warning 2024-10-18 14:14:56 +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 lib: net_buf: move the network buffer implementation to lib 2024-09-07 11:19:05 -05: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 net: Give name to logging choice 2024-09-30 12:10:42 +01:00