zephyr/subsys
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
..
bindesc everywhere: replace #if IS_ENABLED() as per docs 2024-06-28 07:20:32 -04:00
bluetooth Bluetooth: Mesh: Fix build warning with gcc 13 2024-08-13 18:18:00 -04:00
canbus
console
dap kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
debug debug: coresight: Add coresight_trace_deformatter 2024-08-12 19:23:19 -04:00
demand_paging demand_paging: LRU eviction: avoid ping pong deadlock loop 2024-08-06 17:15:15 -04:00
dfu
disk drivers: disk: add DISK_IOCTL_CTRL_DEINIT command to supported IOCTLs 2024-06-07 18:16:01 +01:00
dsp
emul emul: Support UART device emulation 2024-07-30 18:28:17 +01:00
fb fb: cfb: Fix CID 394240 2024-07-05 18:39:22 +02:00
fs fs: fuse: ensure S_IFxxx macros are available 2024-08-11 10:32:20 +02:00
input input: longpress, keymap: use an explicit callback name 2024-07-31 12:55:11 +02:00
ipc ipc: icmsg: Align to NO MULTITHREADING 2024-08-01 13:31:53 +02:00
jwt jwt: add missing PSA_WANT dependencies to RSA signature 2024-06-13 09:22:20 +02:00
llext doc: llext: improve Doxygen comments 2024-07-11 16:17:52 +02:00
logging logging: When strings are stripped keep source name pointers 2024-08-13 14:56:14 +02:00
lorawan everywhere: replace double words 2024-06-25 06:05:35 -04:00
mem_mgmt
mgmt mgmt: hawkbit: move to zephyr kernel heap 2024-08-05 11:32:49 +02:00
modbus modbus_serial: Disable rx interrupt if buffer fills up 2024-06-13 16:48:05 -04:00
modem modem: ubx: fix incoming byte processing 2024-08-02 03:29:18 -04:00
net net: l2: ppp: ensure proper null-termination in ppp_fsm_close 2024-08-14 09:40:23 +02:00
pm pm: refactor pm_device_driver_init 2024-08-02 03:31:17 -04:00
portability kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
profiling profiling: Add perf tool 2024-08-13 18:28:44 -04:00
random everywhere: replace double words 2024-06-25 06:05:35 -04:00
retention
rtio rtio: Enable submit/consume semaphores by default 2024-08-05 10:16:12 +02:00
sd
sensing sensors: Submit call returns void 2024-06-14 19:13:02 +02:00
settings kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
shell device_dt_metadata: handle dt_meta being NULL 2024-08-12 15:54:22 +02:00
sip_svc everywhere: replace double words 2024-06-22 05:40:22 -04:00
stats
storage everywhere: replace #if IS_ENABLED() as per docs 2024-06-28 07:20:32 -04:00
task_wdt task_wdt: Feed hardware watchdog only when its started 2024-06-06 00:40:53 -07:00
testsuite testsuite: coverage: fix arm64 build with gcov enabled 2024-08-13 14:57:50 +02:00
timing
tracing Revert "net: sockets: move poll implementation to zvfs" 2024-07-03 15:03:05 -04:00
usb drivers: udc: add opaque pointer to store upper layer private data 2024-08-06 17:17:41 -04:00
zbus zbus: Use section iterator for observations 2024-07-09 14:03:33 +02:00
CMakeLists.txt profiling: Add perf tool 2024-08-13 18:28:44 -04:00
Kconfig profiling: Add perf tool 2024-08-13 18:28:44 -04:00