summaryrefslogtreecommitdiff
path: root/include/linux/execmem.h
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-01-05 17:50:46 +0300
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-01-06 11:50:46 +0300
commit1716c1e0860b42980f338b69b974149d035582ca (patch)
treecf8af2ab3865b2bc012c08f7a614cb4e320a15c0 /include/linux/execmem.h
parent2a2c085de1f3f54a6222fbef5b45f1d3c40e98e3 (diff)
downloadlinux-1716c1e0860b42980f338b69b974149d035582ca.tar.xz
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 'include/linux/execmem.h')
0 files changed, 0 insertions, 0 deletions