summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-01-05 15:50:46 +0100
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-01-06 10:50:46 +0200
commit1716c1e0860b42980f338b69b974149d035582ca (patch)
treecf8af2ab3865b2bc012c08f7a614cb4e320a15c0 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent2a2c085de1f3f54a6222fbef5b45f1d3c40e98e3 (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 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions