linux/drivers/platform/x86/hp
Thorsten Blum baa18b6ed4
platform/x86: hp-bioscfg: Replace deprecated strncpy() with strscpy()
Since kstrtol() requires a NUL-terminated string as input and strncpy()
is deprecated for NUL-terminated destination buffers, use strscpy()
instead.

Compile-tested only.

Link: https://github.com/KSPP/linux/issues/90
Cc: linux-hardening@vger.kernel.org
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://lore.kernel.org/r/20250225232126.356274-2-thorsten.blum@linux.dev
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
2025-03-03 14:57:32 +02:00
..
hp-bioscfg platform/x86: hp-bioscfg: Replace deprecated strncpy() with strscpy() 2025-03-03 14:57:32 +02:00
Kconfig ACPI: EC: make EC support compile-time conditional 2024-10-24 17:47:15 +02:00
Makefile platform/x86: hp-bioscfg: Makefile 2023-07-10 14:41:29 +02:00
hp-wmi.c Merge branch 'fixes' into 'for-next' 2025-01-21 14:00:38 +02:00
hp_accel.c Input: i8042 - Add support for platform filter contexts 2025-01-15 16:26:39 +02:00
tc1100-wmi.c platform/x86: Switch back to struct platform_driver::remove() 2024-10-17 12:39:32 +03:00