linux/drivers/soc
Azeem Shaikh 8453e7924a soc: fsl: qe: Replace all non-returning strlcpy with strscpy
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().
No return values were used, so direct replacement is safe.

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

Signed-off-by: Azeem Shaikh <azeemshaikh38@gmail.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20230523021425.2406309-1-azeemshaikh38@gmail.com
Signed-off-by: Kees Cook <keescook@chromium.org>
2023-07-17 16:05:20 -07:00
..
actions
amlogic drivers: meson: secure-pwrc: always enable DMA domain 2023-06-19 11:02:37 +02:00
apple modules-6.4-rc1 2023-04-27 16:36:55 -07:00
aspeed
atmel
bcm soc: bcm: brcmstb: biuctrl: fix of_iomap leak 2023-04-03 13:37:24 -07:00
canaan soc: canaan: Make K210_SYSCTL depend on CLK_K210 2023-03-15 14:22:53 +00:00
dove
fsl soc: fsl: qe: Replace all non-returning strlcpy with strscpy 2023-07-17 16:05:20 -07:00
fujitsu soc: fujitsu: remove MODULE_LICENSE in non-modules 2023-04-13 13:13:50 -07:00
gemini
imx soc: imx: imx8m-blk-ctrl: reordering the fields 2023-03-27 09:52:41 +08:00
ixp4xx
lantiq
litex
loongson
mediatek soc: mediatek: SVS: Fix MT8192 GPU node name 2023-06-09 16:34:47 +02:00
microchip soc: microchip: mpfs: add a prefix to rx_callback() 2023-04-03 20:32:43 +01:00
nuvoton
pxa
qcom USB / Thunderbolt driver updates for 6.5-rc1 2023-07-03 13:23:10 -07:00
renesas soc: renesas: rmobile-sysc: Convert to readl_poll_timeout_atomic() 2023-06-05 15:43:27 +02:00
rockchip soc: rockchip: dtpm: use C99 array init syntax 2023-06-11 22:38:04 +02:00
samsung soc: samsung: exynos-pmu: Re-introduce Exynos4212 support 2023-05-09 19:49:37 +02:00
sifive
starfive
sunxi kbuild, soc: sunxi: sram: remove MODULE_LICENSE in non-modules 2023-03-14 21:39:11 +01:00
tegra Pin control changes for the v6.5 kernel cycle: 2023-06-30 14:57:19 -07:00
ti wkup_m3_ipc.c: Fix error checking for debugfs_create_dir 2023-06-06 13:50:52 -05:00
ux500
versatile
xilinx driver: soc: xilinx: use _safe loop iterator to avoid a use after free 2023-05-12 13:08:04 +02:00
Kconfig
Makefile