openwrt/package/kernel
Mieczyslaw Nalewaj 225622e0f9 mt76: replace strlcpy with strscpy
Change deprecated function strlcpy to strscpy
for compatibility with kernel 6.12.

strlcpy() reads the entire source buffer first.
This read may exceed the destination size limit.
This is both inefficient and can lead to linear read
overflows if a source string is not NUL-terminated [1].
In an effort to remove strlcpy() completely [2], replace
strlcpy() here with strscpy().

Direct replacement is safe here since DEV_ASSIGN is only used by
TRACE macros and the return values are ignored.

[1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy
[2] https://github.com/KSPP/linux/issues/89

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18927
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-06-19 22:03:30 +02:00
..
ath10k-ct
bcm27xx-gpu-fw bcm27xx-gpu-fw: update to v1.20250430 2025-06-06 12:34:01 +02:00
bcm63xx-cfe
bpf-headers
button-hotplug
cryptodev-linux cryptodev-linux: fix sysctl warning for kernel 6.12 2025-06-12 10:57:22 +02:00
dtc/patches
gpio-button-hotplug
gpio-nct5104d
lantiq
leds-gca230718
leds-ws2812b
linux generic: 6.12: backport accepted BCM5325 patches 2025-06-18 11:11:54 +02:00
mac80211 wifi: ath11k: increase max ATH11K_QMI_CALDB_SIZE macro 2025-06-13 10:29:50 +02:00
mt76 mt76: replace strlcpy with strscpy 2025-06-19 22:03:30 +02:00
mt7621-qtn-rgmii
mwlwifi mwlwifi: add pending patch to fix compilation with kernel 6.12 2025-06-03 20:40:54 +02:00
nat46
qca-nss-dp
qca-ssdk qca-ssdk: update to Git HEAD (2025-05-30) 2025-06-02 22:59:05 +02:00
r8101
r8125 kernel: r8125: update to v9.016.00 2025-06-09 08:02:21 +02:00
r8126
r8127
r8168
rtc-rv5c386a
rtl8812au-ct
trelay
ubnt-ledbar
ubootenv-nvram