zephyr/subsys/net/l2
Pisit Sawangvonganan d5a458df2e net: l2: ppp: ensure proper null-termination in ppp_fsm_close
- Remove the `strlen`, as it is unnecessary for safe copying.
- Limit the `strncpy` to `sizeof(fsm->terminate_reason) - 1`
  to ensure the last byte is reserved for null-termination.
- Add an explicit null terminator to guarantee correct string termination.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2024-08-14 09:40:23 +02:00
..
canbus
dummy net: Implement pseudo a.k.a "any" interface 2024-04-04 17:02:11 +02:00
ethernet kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
ieee802154 net: l2: ieee802154: mgmt: allow beacons without association bit 2024-07-31 10:08:03 +02:00
offloaded_netdev
openthread net: openthread: Handle deprecated IPv6 addresses correctly 2024-08-07 07:13:54 -04:00
ppp net: l2: ppp: ensure proper null-termination in ppp_fsm_close 2024-08-14 09:40:23 +02:00
virtual net: use appropriate sys_randX_get() 2024-04-05 12:28:46 +02:00
wifi net: wifi: replace (1 << xyz) with BIT(xyz) 2024-08-13 18:19:33 -04:00
CMakeLists.txt Network: L2: remove IPSP 2024-04-11 12:48:50 +02:00
Kconfig Network: L2: remove IPSP 2024-04-11 12:48:50 +02:00