diff options
| author | 2026-01-05 15:50:46 +0100 | |
|---|---|---|
| committer | 2026-01-06 10:50:46 +0200 | |
| commit | 1716c1e0860b42980f338b69b974149d035582ca (patch) | |
| tree | cf8af2ab3865b2bc012c08f7a614cb4e320a15c0 /scripts/Makefile.thinlto | |
| parent | platform/x86/amd/pmf: Use ring buffer to store custom BIOS input values (diff) | |
platform/surface: Replace deprecated strcpy() in surface_button_add()
strcpy() has been deprecated [1] because it performs no bounds checking
on the destination buffer, which can lead to buffer overflows. Replace
it with the safer strscpy(). No functional changes.
Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy [1]
Reviewed-by: Chen Yu <yu.c.chen@intel.com>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20260105145045.52764-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>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
