mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-14 06:38:29 +04:00
strncpy is deprecated. Replace with: - strscpy() for NUL-terminated destinations - strscpy_pad() for NUL-terminated destinations with zero-padding - memcpy() for fixed-length in-place overwrites (bootargs mangle/cmdline replacement) Assisted-by: Opencode:Big-Pickle Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/23892 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>